Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18130 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56237 invoked by uid 1010); 15 Aug 2005 15:58:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 56205 invoked from network); 15 Aug 2005 15:58:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2005 15:58:45 -0000 X-Host-Fingerprint: 130.58.80.228 d228.beardsley-2.swarthmore.edu Received: from ([130.58.80.228:28561] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 13/C0-33075-4BBB0034 for ; Mon, 15 Aug 2005 11:58:44 -0400 Message-ID: <13.C0.33075.4BBB0034@pb1.pair.com> To: internals@lists.php.net Date: Mon, 15 Aug 2005 11:57:52 -0400 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <42FCE0E4.604@lerdorf.com> <42FDB870.8040807@kmit.sk> <8A1E0BC8-0F6C-4B70-B53E-1AE02E500F05@omniti.com> <71DDD152-EB26-4456-8541-7631BF985730@omniti.com> <42FEDAAC.3000609@prohost.org> <436C3644-DC2C-455A-A725-4CB8006D5200@omniti.com> <364756E4-7CCA-4F0D-9E0C-D572DFE35C52@omniti.com> In-Reply-To: <364756E4-7CCA-4F0D-9E0C-D572DFE35C52@omniti.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 130.58.80.228 Subject: Re: [PHP-DEV] PHP 6.0 Wishlist From: contact_marcos@yahoo.es (Marc Richards) George Schlossnagle wrote: > > On Aug 15, 2005, at 2:29 AM, Jani Taskinen wrote: > >> On Sun, 14 Aug 2005, George Schlossnagle wrote: >> >> >>> >>> On Aug 14, 2005, at 3:37 PM, Jani Taskinen wrote: >>> >>> >>>> On Sun, 14 Aug 2005, Ilia Alshanetsky wrote: >>>> >>>>> If apc comes bundled then it includes apc_store() and apc_fetch () >>>>> this >>>>> is pretty much $_MEMORY with a few tweaks. >>>>> >>>> Yes, but that is restricted to one server installations. >>>> I need such a 'global session' that is available with multiple >>>> front-end servers..ie. using DB as session storage. >>>> >>> >>> ext/session has the framework for doing this. I concur with your >>> original idea of augmenting it to provide those services. Perhaps a >>> new autoglobal $_GLOBAL_SESSION[]. Thoughts? >>> >> >> > >> >> >> session_set_application_id('someid'); > > > what's the point of having an application id? To prevent PHPBB from accidentally overwriting Phorum when both of them try to update $_GLOBAL_SESSION['counter']. Basically to enforce application level scoping...which is part of the reason I think $_APPLICATION is a better name. Marc