Re: [PATCH] Modifications for ext/session/

From: Date: Tue, 26 Apr 2005 16:52:36 +0000
Subject: Re: [PATCH] Modifications for ext/session/
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-16095@lists.php.net to get a copy of this message
    Nope.
    - Sascha
On Tue, 26 Apr 2005, Hans Lellelid wrote:
Sascha Schumann wrote:
    They are not helpful for various reasons.  e.g. if you need
    to ask whether a session was started, your architecture is
    broken (a central place needs to manage sessions; that single
    place must know whether a session has been started).
I haven't looked in any detail at these functions, but wouldn't you be able to prevent fixation by inquiring whether a particular session was already started? -- rather than PHP's current (IMHO flawed) behavior where a new session is simply started with whatever session is is passed in. -Hans


« previous php.internals (#16095) next »