Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16095 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12260 invoked by uid 1010); 26 Apr 2005 16:53:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12007 invoked from network); 26 Apr 2005 16:53:03 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 26 Apr 2005 16:53:03 -0000 X-Host-Fingerprint: 217.160.175.43 p15119030.pureserver.info Linux 2.4/2.6 Received: from ([217.160.175.43:47869] helo=chatserv.de) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id 58/B9-59279-ED17E624 for ; Tue, 26 Apr 2005 12:52:54 -0400 Received: (qmail 8735 invoked by uid 1040); 26 Apr 2005 16:52:36 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 26 Apr 2005 16:52:36 -0000 Date: Tue, 26 Apr 2005 18:52:36 +0200 (CEST) X-X-Sender: sas@chatserv To: Hans Lellelid cc: Thomas O'Neill , internals@lists.php.net In-Reply-To: <426E6F87.5020908@velum.net> Message-ID: References: <4266894D.1070702@cain.sh> <42668AC0.1010607@caedmon.net> <4269D32C.1080706@cain.sh> <426E6F87.5020908@velum.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] [PATCH] Modifications for ext/session/ From: sascha@schumann.cx (Sascha Schumann) 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 > >