Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3806 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68569 invoked from network); 7 Aug 2003 16:34:58 -0000 Received: from unknown (HELO jedi.webgate.bg) (212.50.2.189) by pb1.pair.com with SMTP; 7 Aug 2003 16:34:58 -0000 Received: (qmail 5695 invoked from network); 7 Aug 2003 16:38:58 -0000 Received: from nik.office.webgate.bg (HELO andreywin) (192.168.1.22) by jedi.webgate.bg with SMTP; 7 Aug 2003 16:38:58 -0000 Message-ID: <010e01c35d01$d6bc21f0$1601a8c0@andreywin> To: "Justin Hannus" Cc: 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> Date: Thu, 7 Aug 2003 19:34:57 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Re: [PHP-DEV] [Proposal] Idea for Application level variables From: andrey@webgate.bg ("Andrey Hristov") Nope, the data should be shared amongst all running processes of the application disregarding the web user who invokes them. Andrey ----- Original Message ----- From: "Justin Hannus" To: Sent: Thursday, August 07, 2003 7:18 PM Subject: Re: [PHP-DEV] [Proposal] Idea for Application level variables > So it seems like to get the same functionality, in userland, why not just: > > $_APPLICATION = &$_SESSION > > -Justin > > "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) > > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >