Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Title display problem while HTTP server not running

Status
Not open for further replies.

SkippyK

Programmer
Oct 10, 2002
9
GB
I hope someone can help me.

If I attempt to connect to my HTTP server while it is not running, IE displays a standard "Page cannot be displayed" error page, with the blue title banner showing "Cannot find server".

If I then start the server and refresh my browser, the content of my page is displayed correctly, however, the banner still shows "Cannot find server", and continues to do so until I navigate away from the site.

I have a <TITLE> block in my html which displays correctly if the http server is running when I first access the site. The only other possible clue is the page contains frames.

Any suggestions? Please don't say get rid of the frames!

TIA
 
Here's the frames page source code

<html>

<head>
<title>Welcome to Website</title>
</head>

<frameset border=0 frameborder=0 rows=&quot;74,*&quot;>
<frame name=&quot;banner&quot; src=&quot;/public/TopBanner.htm&quot; scrolling=&quot;no&quot;>
<frameset border=0 frameborder=0 cols=&quot;200,*&quot;>
<frame name=&quot;contents&quot; target=&quot;home&quot; src=&quot;/cgi-bin/Home.php&quot; scrolling=&quot;auto&quot;>
<frame name=&quot;main&quot; src=&quot;/cgi-bin/Offerspage.php&quot; scrolling=&quot;auto&quot;>
<noframes>
<body>
&quot;
</body>
</noframes>
</frameset>

</html>

The &quot;Welcome to Website&quot; <Title> is the value I'm expecting to see.
 
That looks fine to me :p. I think I know the problem, though....Don't ask me to tell you why, but try this instead:

<html>
<head>
<title>Welcome to Website</title>
</head>
<frameset border=0 frameborder=0 rows=&quot;74,*&quot;>
<frame name=&quot;banner&quot; src=&quot;/public/TopBanner.htm&quot; scrolling=&quot;no&quot;>
<frame name=&quot;others&quot; frameborder=&quot;0&quot; src=&quot;others.htm&quot;>
</frameset>
</html>

And this is the contents of others.htm:

<html>
<frameset border=0 frameborder=0 cols=&quot;200,*&quot;>
<frame name=&quot;contents&quot; target=&quot;home&quot; src=&quot;/cgi-bin/Home.php&quot; scrolling=&quot;auto&quot;>
<frame name=&quot;main&quot; src=&quot;/cgi-bin/Offerspage.php&quot; scrolling=&quot;auto&quot;>
<noframes>
<body>
&quot;
</body>
</noframes>
</frameset>
</html>

It's just an idea, and I'm not sure if that will do anything, but maybe...just maybe ;-).

Rick

-----------------------------------------------------------
RISTMO Designs
Arab Church
Reference Guides
 
I think it's an, ahem, &quot;feature&quot; of the browser rather than being anything to do with your code. It sorta convinces itself that it has downloaded the page when all it's done is try, fail, and display an error. So when you refresh the page it thinks the title's already on show. Try holding down [Shift] when you click the refresh button - that forces a full reload and may do the trick.

-- Chris Hunt
Extra Connections Ltd

The real world's OK for a visit, but you wouldn't want to LIVE there!
 
No joy yet.

The split frames source doesn't resolve the problem, and neither does pressing shift-F5.

Any more ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top