Re: [PATCH] Modifications for ext/session/

From: Date: Tue, 26 Apr 2005 20:24:31 +0000
Subject: Re: [PATCH] Modifications for ext/session/
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-16103@lists.php.net to get a copy of this message
Dan Kalowsky wrote:
On Tue, 26 Apr 2005, Hans Lellelid wrote:
I see your point, but I would still argue that being able to create an arbitrary, non-server-supplied session id is far more powerful -- primarly because it is not susceptible to session garbage collection on the server (i.e. the valid session id I get from the site will be invalid in gc_maxlifetime).
So what you want are cookies?
Well, no that doesn't address the problem, although certainly setting cookies_only makes it practically a bit harder (can't just paste in a simple URL with fixated session for someone to click). But the real problem (IMO) is the idea of a client making its own decision about what a session id should be. -- and of course sending an invalid session_id as a cookie is trivial. -H

« previous php.internals (#16103) next »