Re: [PATCH] Modifications for ext/session/
| From: | Hans Lellelid | Date: | Tue, 26 Apr 2005 16:42:47 +0000 |
| Subject: | Re: [PATCH] Modifications for ext/session/ | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16094@lists.php.net to get a copy of this message | ||
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