Re: no cache?

From: Date: Fri, 23 Nov 2001 16:25:13 +0000
Subject: Re: no cache?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-10597@lists.php.net to get a copy of this message
Nope, didn't work but I think I have to redifine the problem. I just discovered that I that I've got the wrong protocol thingey (I'm new at this, sorry). I ran "echo $SERVER_PROTOCOL;" and got back "HTTP/1.0" wich I think is wrong. I don't know. I'm confused.... ----- Original Message ----- From: "Piotr Pluciennik" <ppluciennik@yahoo.com> To: "Samba Sidibeh" <samba.sidibeh@udac.se> Cc: <php-windows@lists.php.net> Sent: Friday, November 23, 2001 5:06 PM Subject: Re: [PHP-WIN] no cache? Hi, maybe this code will help in your case: Header("Expires: Fri, 10 Jun 1976 07:00:00 GMT"); It's send informations about expiration of the document (which is set in the reasonable past) and it influence cache behaviour. In my script it's working fine. Let me know if that helped you, greetings Piotr __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#10597) next »