NYCPHP Meetup

NYPHP.org

[nycphp-talk] Fw: reading cookie expirations

Chris Shiflett shiflett at php.net
Tue Feb 3 19:01:28 EST 2004


--- Adam Maccabee Trachtenberg <adam at trachtenberg.com> wrote:
> Cookies do not return the information that you're looking for. They
> only return the cookie's name and value. (And maybe the path and
> domain.)

You're right - just the name and value.

> See RFC 2109 for more information:
> 
> http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2109.html

I think this is one of the cases where industry implementation and RFC
2109 differ. I have found Netscape's original specification to be more
accurate in terms of what actually happens:

http://wp.netscape.com/newsref/std/cookie_spec.html

Hope that helps.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security Handbook
     Coming mid-2004
HTTP Developer's Handbook
     http://httphandbook.org/



More information about the talk mailing list