RE: [PEAR-DEV] Application level variables
| From: | Richard Heyes | Date: | Thu, 27 Dec 2001 15:59:41 +0000 |
| Subject: | RE: [PEAR-DEV] Application level variables | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3713@lists.php.net to get a copy of this message | ||
> > Just created a class which using the PEAR Cache stuff
> implements application
> > level variables. You can take a look at it here:
> >
> > http://www.phpguru.org/pear/Application.phps
>
> Hm, couldn't this be handled by using sessions but with a specific
> session id for the application? Or can't you mix two sessions (the
> "application session" and the user session) in one script?
I doubt it. Since the session id can only be one thing at the end of the
request
the session shutdown routines will only write one set of data, either the
user
data or the application data. Same for startup too I guess.
--
Richard Heyes
"If you have any trouble sounding condescending,
find a Unix user to show you how it's done." - Scott Adams