Unfortunately it's only wrong typing. That problem's here to stay.
----- Original Message -----
From: Seb Frost <[EMAIL PROTECTED]>
To: Ouster <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 9:38 PM
Subject: RE: [PHP] 304 Not Modified


> You don't think your missing " might have soemthing to do with it?  Or
maybe
> it's not that simple at all.....
>
> - seb
>
> -----Original Message-----
> From: Ouster [mailto:[EMAIL PROTECTED]]
> Sent: 05 September 2001 20:23
> To: [EMAIL PROTECTED]
> Subject: [PHP] 304 Not Modified
>
>
> I'm making a sort of cache system. I fell to this problem: I leave a
cookie
> with the timestamp of the last access, and when the user reconnect, I
> compare the timestamp of the last change with the timestamp sent me with
the
> cookie. Then I leave a new cookie.
>
> So:
> if($last_modified <= $last_access)
>     {
>     header("304 Not Modified);
>     exit;
>     }
> else
>     {
>     /* code genertating the new page */
>     }
>
> Whether the If is TRUE, I get a blank page, else I see a new page (correct
> behaviour).
> Why I always get a blank page and not the cached page?
> This always happen with PWS and IIS, and sometimes with Apache.
> Thanks.
>
>
>
> --
> 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]
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001
>
>


-- 
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]

Reply via email to