[PHP] Cache Problem

2001-02-20 Thread Peter Houchin

Hiya,

I have a question with reguard to Cache

At the moment I'm using  but when

i go view the page in NN all the data comes up but if say i wanted to print

the data it prints a page saying "Data Missing" .. this document resulted

from a POST operation and has expired from cache..."

and I don't understand why .. because i thought i had this covered using

this script 

if ($REQUEST_METHOD=='POST')

{

header('Expires: ' . gmdate("D, d M Y H:i:s", time()+1000) . ' GMT');

header('Cache-Control: Private');

}



could some one please offer some suggestions

Thanks

Peter




Re: [PHP] cache problem

2001-02-16 Thread Chris Lee

  header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
  header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
  header('Cache-Control: no-cache, must-revalidate');
  header('Pragma: no-cache');


--


Chris Lee
Mediawaveonline.com

em. [EMAIL PROTECTED]

ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120


"Jan Grafström" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi! I have this php answer on the request sent from flash5 to serverside
> php-file:
>
>
records=8&score0=14&name0=janna&med0=hej4&date0=16:11:32&score1=13&name1=jan
na&med1=hej3&date1=16:06:52&score2=12&name2=janna&med2=hej2&date2=16:06:42&s
core3=11&name3=janna&med3=hej&date3=16:06:31&score4=10&name4=Janna&med4=hej
>
anton&date4=10:24:00&score5=9&name5=Anton&med5=8&date5=23:31:26&score6=8&nam
e6=Anton&med6=7&date6=23:31:21&reply=Thanks!
> Updated&updated=1&
>
> My problem is that IE5.5 cache this file.
> Anybody know if it`s possible to set some code in the php-file to
> prevent this.
> I have tried with metatags on both the php and the html in which the swf
> resides with no result.
> Thanks
> Jan
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] cache problem

2001-02-16 Thread Jan Grafström

Hi! I have this php answer on the request sent from flash5 to serverside
php-file:

records=8&score0=14&name0=janna&med0=hej4&date0=16:11:32&score1=13&name1=janna&med1=hej3&date1=16:06:52&score2=12&name2=janna&med2=hej2&date2=16:06:42&score3=11&name3=janna&med3=hej&date3=16:06:31&score4=10&name4=Janna&med4=hej
anton&date4=10:24:00&score5=9&name5=Anton&med5=8&date5=23:31:26&score6=8&name6=Anton&med6=7&date6=23:31:21&reply=Thanks!
Updated&updated=1&

My problem is that IE5.5 cache this file.
Anybody know if it`s possible to set some code in the php-file to
prevent this.
I have tried with metatags on both the php and the html in which the swf
resides with no result.
Thanks
Jan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]