Re: Re: Global data with session handler
| From: | brad lafountain | Date: | Tue, 19 Mar 2002 13:42:42 +0000 |
| Subject: | Re: Re: Global data with session handler | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81503@lists.php.net to get a copy of this message | ||
--- Yasuo Ohgaki <yasuo_ohgaki@yahoo.com> wrote:
> Brad Lafountain wrote:
> > I was wondering if anyone has ever thought of comming up with a different
> way
> > of handling the code below. I know that you can use shared memory, but that
> > wont work for win and it wont work for web cluseters using db's to handle
> their
> > sessions. Also sessions will automatically handle locking of the session
> info.
> > so you don't need to worry about using shm locking the shm.
>
> Basically you need application level sesssion variable (or application
> scope persistent variable), right?
>
> SRM and session_pgsql supports that.
> In case of session_pgsql, $_APP can be used just like $_SESSION.
> All session that has the same session name shares $_APP.
> (SRM has OO approch for this)
>
> Supporting $_APP is easy, if nobody objects I'll add it to files
> handler or change session module so that all save handler
> can support $_APP easily.
>
> Any comments?
I think $_APP support in all of the sessoin modules would be great!
Anyone else?
:Brad
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/