Re: [Proposal] Idea for Application level variables

From: Date: Thu, 07 Aug 2003 13:45:00 +0000
Subject: Re: [Proposal] Idea for Application level variables
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-3799@lists.php.net to get a copy of this message
Stefan Walk wrote:
On Thu, Aug 07, 2003 at 02:15:12PM +0100, Davey wrote:
Andrey, This isn't quite as transparent as $_SESSION is and $_APPLICATION would also not be a superglobal. What I would like to see at the end of this is a $_APPLICATION variable (or $_APP? some poeple complained that $_APPLICATION is too long) that behaves *exactly* like $_SESSION (in assignment etc) except that its values are available not across sessions but across applications and instances of applications. - Davey
Check out this one: http://www.turcksoft.com/en/e_mmc.htm#api
MMCache can be used as a session handler, but this still has the pitfalls of the other solutions. If you were to implement $_APP(LICATION) as suggested, then it could indeed (in theory) use MMCache, just as $_SESSION does - Davey

« previous php.internals (#3799) next »