[SOLVED] problem in refreshing.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

problem in refreshing.

Post 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..
Breckenridge
Forum Commoner
Posts: 62
Joined: Thu Sep 09, 2004 11:10 pm
Location: Breckenridge, Colorado

Post 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.
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post 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.
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post 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.
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

well thankx man

its working now.
Post Reply