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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to