Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] Cookies and Y2K From: Chad Cunningham (ccunning <email protected>)
Date: 01/14/99

I also did a search on developer.netscape.com and found a cookie spec from 97
which ONLY mentioned a 2 year date. So this means that after year 2000, older
browsers won't be able to handle cookies. Think of all the poor people who use IE
2 which still ships with NT 4.

Rasmus Lerdorf wrote:

> > More seriously, I think that the cookie spec always had 4-digit years in
> > it. And if somebody is dumb enough to write a cookie, somehow, with only
> > 2-digit years, I *think* browsers find the nearest 02 to the current date.
>
> Not quite true. Netscape wrote the original cookie spec. It is available
> right here:
>
> http://www.netscape.com/newsref/std/cookie_spec.html
>
> It does specify a 4-digit year, but if you scroll to the bottom where it
> shows examples, it shows a 2-digit year. And, as you are probably very
> aware of, programmers love copying an example from a spec to test their
> implementation against which is what happened in this case.
>
> -Rasmus
>
> --
> 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>