Page 1 of 1

problem in refreshing.

Posted: Wed Sep 22, 2004 9:18 am
by itsmani1
hello every one!

in my php website i am using frames, one is top and 2nd is main frame top is for logo and buttons and in the main frame for rest of the stuff. what happens is that when after loggin in comes to home page and press th freresh button to refresh page it does not refresh the home page instead of that it diverts me to log in page to login again?

keepin in mind that name of the main frame is main.php and top is top.php and the frame that combines the both is named as index.php

can i any one sort my problem????

Regards..

Posted: Wed Sep 22, 2004 10:02 am
by Breckenridge
I only had a problem like that on slow servers. I would try using:

Code: Select all

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
I hope that the above meta tag will help with your refresh problems.

Posted: Wed Sep 22, 2004 11:30 am
by itsmani1
Breckenridge wrote:I only had a problem like that on slow servers. I would try using:

Code: Select all

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
I hope that the above meta tag will help with your refresh problems.
i donot know Where to write the code? can u tell me plz.

Posted: Wed Sep 22, 2004 12:02 pm
by Joe
put in in between the head tags. Like:

Code: Select all

<head>
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
</head>
Go here for more information on meta tags.

Posted: Wed Sep 22, 2004 12:16 pm
by itsmani1
well thankx man

its working now.