Re: [PHP] Internet Explorer Caching



Yes, I'm sure. Changes I make to a database are reflected in the database but not on the form. It's only IE. It works fine in FireFox or SeaMonkey.

Charlene

Richard Heyes wrote:
Charlene wrote:
I've been having problems with Internet Explorer caching php programs. I'm using the following code:

header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Pragma", "no-cache");
header("Expires", "-1");

And it used to work, but now, according to Windows Explorer its giving it 3 hours to expire.

Are you sure? By default PHP pages/scripts don't send any caching headers and hence don't get cached. You can check this using: http://www.fiddlertool.com

.



Relevant Pages

  • Re: removing last chrs (with different browsers giving different last chrs )
    ... With Firefox $result gives ... With Safari $result is ... it will be very hard to maintain - add or remove a field and your query string changes - making all of the existing ones in your database invalid. ... print_rwith Chrome and Safari show, ...
    (comp.lang.php)
  • Re: rolling Firefox back to 2.x
    ... from outside Firefox. ... If you want to be sure that all sensitive data ... shell code) to create a new database and copy the data you want to keep. ... private information on a computer you are sharing with other people. ...
    (Ubuntu)
  • Re: removing last chrs (with different browsers giving different last chrs )
    ... With Firefox $result gives ... With Safari $result is ... your database will fail first ... print_rwith Chrome and Safari show, ...
    (comp.lang.php)
  • Re: rolling Firefox back to 2.x
    ... from outside Firefox. ... If you want to be sure that all sensitive data ... shell code) to create a new database and copy the data you want to keep. ... untraceable by forensic analysis of your hard drive? ...
    (Ubuntu)
  • Re: Need help with IE
    ... I have a question regarding Internet Exlporer and Firefox. ... sometimes it does not, sometimes I have to delete the temporary files, ... however it does not do anything to the database until I ... delete the temp files. ...
    (comp.lang.javascript)