Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18080 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4227 invoked by uid 1010); 15 Aug 2005 00:19:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 4191 invoked from network); 15 Aug 2005 00:19:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2005 00:19:57 -0000 X-Host-Fingerprint: 64.233.162.198 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.198:24706] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id CB/1A-33075-BAFDFF24 for ; Sun, 14 Aug 2005 20:19:56 -0400 Received: by zproxy.gmail.com with SMTP id 8so610689nzo for ; Sun, 14 Aug 2005 17:19:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jU+mkY3UAZEBxlyPMwoAMMKJl+wppoicM4Euk19k+iO6LUs940NzsTyk/AaaxYbmfpMTblNOiHh1TZXe5xVSyZ0nk0sMsdAeRzEkIJL2VJpKZd+1+MBuHUmPe7sr38LNyjf6q8wgGLL/BfkTgpJnrPynw7gc4zRf3/GrQQMlmGs= Received: by 10.36.153.12 with SMTP id a12mr3894240nze; Sun, 14 Aug 2005 17:19:52 -0700 (PDT) Received: by 10.36.148.12 with HTTP; Sun, 14 Aug 2005 17:19:52 -0700 (PDT) Message-ID: <5c2874720508141719702c647f@mail.gmail.com> Date: Sun, 14 Aug 2005 19:19:52 -0500 To: George Schlossnagle Cc: Jani Taskinen , Ilia Alshanetsky , internals In-Reply-To: <436C3644-DC2C-455A-A725-4CB8006D5200@omniti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42FCE0E4.604@lerdorf.com> <42FDB870.8040807@kmit.sk> <8A1E0BC8-0F6C-4B70-B53E-1AE02E500F05@omniti.com> <71DDD152-EB26-4456-8541-7631BF985730@omniti.com> <42FEDAAC.3000609@prohost.org> <436C3644-DC2C-455A-A725-4CB8006D5200@omniti.com> Subject: Re: [PHP-DEV] PHP 6.0 Wishlist From: jason.sweat@gmail.com (Jason Sweat) On 8/14/05, George Schlossnagle wrote: >=20 > On Aug 14, 2005, at 3:37 PM, Jani Taskinen wrote: >=20 > > On Sun, 14 Aug 2005, Ilia Alshanetsky wrote: > > > > > >> If apc comes bundled then it includes apc_store() and apc_fetch() > >> this > >> is pretty much $_MEMORY with a few tweaks. > >> > > > > Yes, but that is restricted to one server installations. > > I need such a 'global session' that is available with multiple > > front-end servers..ie. using DB as session storage. >=20 > ext/session has the framework for doing this. I concur with your > original idea of augmenting it to provide those services. Perhaps a > new autoglobal $_GLOBAL_SESSION[]. Thoughts? >=20 > George IIRC, ages ago when I used ASP pages there as an "Application" object which was basically identical to this concept. I seem to recall using it for configuration kinds of thing (db connections, etc). I have resorted to caching for similar needs in PHP, I think $_GLOBAL_SESSION would be welcome addition, perhaps even allowing for customs session handlers similar to the $_SESSION now for multi-processor environments and other unique setup problems. =20 Regards, Jason http://blog.casey-sweat.us/