Rasmus Lerdorf wrote:
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.


I am confused.  What are you proposing here?  That we write a
multi-server memory-based datastore?  That's a project in itself and
quite beyond the scope of PHP.  It would seem to me like a replicated
database setup with decent query caching solves this problem nicely.

-Rasmus

How about an implementation with multiple possible backends ala session.save_handler?

It could use "files" or "apc" by default, or optionally use something like "mm", "msession" or "mysql" depending on the user's needs.


Marc

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

Reply via email to