Page 1 of 1

Not to take page from cache

Posted: Mon May 24, 2004 8:38 am
by anjanesh
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

Posted: Mon May 24, 2004 9:10 am
by d3ad1ysp0rk
meta refresh with a time of 0?

Posted: Mon May 24, 2004 11:13 pm
by anjanesh
No. Refresh of 0 will refresh it continously.

Posted: Tue May 25, 2004 12:59 am
by feyd
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.