On 17 Mar 2004 Tom Rogers wrote: > The default lifetime for session cookies is until the browser is > closed.
Of course. <slapping head> > You can run multiple sessions as long as they are to different > domains I think. I am pretty sure PHP can only handle 1 session per > client but you could always roll your own on top of that with > cookies/and or ID's Hmmm, I would contend that PHP, particularly running inside stateless HTTP, doesn't know one client from another except by the code you write that makes it recognize them, or that uses defaults to do so. If you only look at the default $_COOKIE["PHPSESSID"] to figure out what session you are handling then you get one per client, but if you had a way to set multiple cookies (easy) and to know which one you cared about on the next page load (harder, but at least it seems doable in the URL) then you can run multiple sessions. Maybe that's what you meant by "roll your own" ... -- Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php