Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] Cookies and Y2K From: Mark Musone (musone <email protected>)
Date: 01/14/99

I thought if you set the date to a date thats in the past,
it deletes the cookie.

Mark

>
> > Not true. The original cookie standard used a 2-digit date, but that
> > doesn't mean that a cookie with "02" in the year field gets confused. It
> > will interpret that as 2002. See http://www.php.net/y2k.php3
>
> Ok, but if an older browser reads a cookie with the date 02 as 1902, won't
> it then treat it as a session cookie because the date has already passed?
>
> Not of particular importance to PHPLIB since it uses session cookies anyway,
> but I've got a few stored cookies in use.
>
>
>
> --
> PHP 3 Mailing List http://www.php.net/
> To unsubscribe send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest list: php3-digest-subscribe <email protected>
> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
> List administrator: zeev <email protected>
>
>

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev <email protected>