NYCPHP Meetup

[nycphp-talk] Re: [nycphp-dev] SESSIONS & COOKIES

Chris Shiflett shiflett at php.net
Fri Aug 1 10:38:48 EDT 2003


--- "Donald J. Organ IV" <dorgan at optonline.net> wrote:
> Does anyone know of a way to not only have the session expire when the
> cookies do when also when the browser closes

I'm sure there are creative ways of having a cookie expiration date *and*
terminate the session when the browser closes, but it's much simpler to just
have the cookie expire when the browser closes (by putting no expiration date).
Does this help, or do you really need both?

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/



More information about the talk mailing list