Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3813 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35116 invoked by uid 1007); 7 Aug 2003 20:31:48 -0000 Message-ID: <20030807203148.35115.qmail@pb1.pair.com> To: internals@lists.php.net Date: Thu, 07 Aug 2003 21:31:47 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 References: <20030807123647.61433.qmail@pb1.pair.com> <008b01c35ce3$3bc1bcf0$1601a8c0@andreywin> <20030807131513.90932.qmail@pb1.pair.com> <20030807131928.GA19201@prp0.prp.physik.tu-darmstadt.de> <20030807134501.9558.qmail@pb1.pair.com> <3F325931.4080401@wp-sa.pl> <20030807141706.32237.qmail@pb1.pair.com> <20030807162957.60993.qmail@pb1.pair.com> In-Reply-To: <20030807162957.60993.qmail@pb1.pair.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 81.79.62.69 Subject: Re: [PHP-DEV] [Proposal] Idea for Application level variables From: davey@php.net (Davey) Justin Hannus wrote: > So it seems like to get the same functionality, in userland, why not just: > > $_APPLICATION = &$_SESSION > > -Justin Uh... then its still only on a session basis. - Davey > "Davey" wrote in message > news:20030807141706.32237.qmail@pb1.pair.com... > >>Wojtek Meler wrote: >> >>>Davey wrote: >>> >>> >>>>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 >>> >>> >>>As far as I understand you just want to have another superglobal >>>variable, don't you? >>>If so I have small patch witch allow to configure in php.ini names for >>>additional superglobals. >>> >>>Regards, >>>Wojtek >>> >> >>Well, whilst this could work, it means that $_APP(LICATION) would not >>have the same infrastrcture below it as $_SESSION does (automatic >>serializing/unserializing and the ability to switch the data storage >>from files, to user, to SQLite and to MMCache) >> >>- Davey >> >>P.S. >> >>Would mind that patch anyways, sounds good, just doesn't fulfill my >>needs/desires for $_APP(LICATION) >> > > >