Re: PHP 6.0 Wishlist

From: Date: Mon, 15 Aug 2005 15:57:52 +0000
Subject: Re: PHP 6.0 Wishlist
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-18130@lists.php.net to get a copy of this message
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?
<?php
    <the usual pre-session_start() things here..>
    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

« previous php.internals (#18130) next »