JavaScript and client side scripting.
Moderator: General Moderators
anjanesh
DevNet Resident
Posts: 1679 Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India
Post
by anjanesh » Mon May 24, 2004 8:38 am
Hello
Does any one know how to automatically refresh a web page when a person visits its again instead of taking it from the cahe ?
I tried :
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
But it still takes it from cache sometimes.
Any suggestions ?
Thanks
d3ad1ysp0rk
Forum Donator
Posts: 1661 Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA
Post
by d3ad1ysp0rk » Mon May 24, 2004 9:10 am
meta refresh with a time of 0?
anjanesh
DevNet Resident
Posts: 1679 Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India
Post
by anjanesh » Mon May 24, 2004 11:13 pm
No. Refresh of 0 will refresh it continously.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Tue May 25, 2004 12:59 am
check into the [php_man]header[/php_man] functions, there is a slew of them to pass for getting the browsers to not cache the page. One, off the top of my head is Expires and Date.