Forum Moderators: open

Message Too Old, No Replies

strange frame problem

         

scorpion

7:56 pm on Apr 22, 2003 (gmt 0)

10+ Year Member



I have a strange problem. I have this page with a hidden frame using this code:

<FRAMESET border=0
frameSpacing=0 rows=100%,* frameBorder=no SCROLLING="no">
<FRAME src="apage.php" frameBorder=0 SCROLLING=auto BORDER=0></FRAMESET>
<noframes>
<body>
</body>
</noframes>

apage.php has one line: header("Location: redirect.html");

THe page loads fine the first time. but if you hit refresh, the second time around, all the graphics show the little read 'x' and no longer load...

However if you hit CTRL-F5 everything is fine. What would make hitting CTRL-F5 vs. F5 not make the page load properly.

Is it a cache issue and if so what code can be placed to not cache?

DrDoc

8:11 pm on Apr 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



is the php file and the html file in the same folder?

scorpion

8:49 pm on Apr 22, 2003 (gmt 0)

10+ Year Member



yes it is, I suspect the problem might be that the source is a php file versus placing the actual URL in the frame source HTML...