Page from MySQL

Alexej Kubarev

New member
i think its done through a meta-tag <meta pragma="no-cache"> or something like that.. hoever have never been sure about meta-tags..

as far as i can see you can simply use an automated refresh OR header("Location: ".$url);

That will have to be done before any output thou... i have never had any problem with mysql data not beeing refreshed thou...

Maybe its because of the different styles we all write in..
 
okej... i think i MIGHT know what you are doing wring..
I think you are using history.go() or some simmilar function... in that vase the page is cached no matter what..
 
Hi,

Auto-refreshing is controlled via meta-tags, with either <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> or <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">. See http://www.i18nguy.com/markup/metatags.html

You can also force your web browser to check for a new version each time you visit the page, but if you're programming it is better the first way.

Regards. Victor
 
Back
Top