Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3804 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65977 invoked from network); 7 Aug 2003 16:32:09 -0000 Received: from unknown (HELO ns1.ciw.edu) (192.70.249.2) by pb1.pair.com with SMTP; 7 Aug 2003 16:32:09 -0000 Received: from tossell.net (escrito.gl.ciw.edu [10.11.11.1]) by ns1.ciw.edu (8.11.6/8.11.6) with ESMTP id h77GW9f14602 for ; Thu, 7 Aug 2003 12:32:09 -0400 Message-ID: <3F328BA0.4050809@tossell.net> Date: Thu, 07 Aug 2003 13:25:52 -0400 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net 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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [Proposal] Idea for Application level variables From: ken@tossell.net (Ken Tossell) Justin Hannus wrote: >So it seems like to get the same functionality, in userland, why not just: > >$_APPLICATION = &$_SESSION > > Or if (!isSet($_SESSION['myApplication'])) { $_SESSION['myApplication'] = array(); } $_APPLICATION =& $_SESSION['myApplication']; >-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) >> >> >> > > > > >