Re: [Proposal] Idea for Application level variables

From: Date: Thu, 07 Aug 2003 20:54:36 +0000
Subject: Re: [Proposal] Idea for Application level variables
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-3816@lists.php.net to get a copy of this message
On August 7, 2003 04:35 pm, Davey wrote: > You've hit the nail on the head! By literally copying and pasting the > $_SESSION code over, s/_SESSION/_APPLICATION and forcing the SID to be a > certain thing, you pretty much implement what I want. The reasons you > cannot just wrap $_SESSION and force a SESSION SID is if you want > SESSION vars *and* APPLICATION vars in the same script, you'll run into > problems... cause you cannot run simulatenous sessions and you certainly > cannot switch when you write to a different var. I do not believe that such a functionality is required in the core of PHP. This maybe a very useful PECL extension if you are willing to write it. However, I'd consider using existing utilities like SRM, which does not seem to be so much of an overkill. Ilia

« previous php.internals (#3816) next »