I thought 6.9 was per-process persistent
At 11:50 AM 11/24/2005, Rasmus Lerdorf wrote:
Andreas Korthaus wrote:
Rasmus Lerdorf wrote:
That's way outside the scope of what we have planned for PHP 6 and
I can pretty much guarantee it won't happen. The SRM-like thing
doesn't need to be part of PHP though. Anybody can build such a beast.
What about something like a "persistent superglobal"? The idea is
to have something like an application-wide session, not only a
session per user. There could be several backends, the same way
like session.save_handler setting for the session extension (e.g.
files, mm, apc...).
I have described that in more detail here:
http://news.php.net/php.internals/19690
Andrey posted an interesting response on how to use semaphore and
shm, but I was thinking about hiding the implementation and add a
superglobal like $_PERSISTENT (or something like that), which can
store any PHP variables between requests, like $_SESSION does, but
application-wide, not separated for each user.
That's already on the list. See section 6.9
-Rasmus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php