Re: how to handle sessions for multiple applications on one server

From: Date: Mon, 08 Oct 2001 15:03:11 +0000
Subject: Re: how to handle sessions for multiple applications on one server
References: 1  Groups: php.general php.pear.general 
Request: Send a blank email to php-general+get-70368@lists.php.net to get a copy of this message
uups, i forgot to finish the sentence... > how do you handle session data for multiple applications if they run on one > server and session variables have the same names in each application? > > the problem i was currently facing was that i run many application on my > server (at home) and if i open a browser window for one application and > another for another application (session id is in the cookie therefor and > both browser instances use the same sessionId) which runs on the same > server, both use the session variable "user", which means that always the > application i am currently browsing in uses the session variable "user" no > matter which application had saved it, so it might appear that in the one > application i am registered as "userX" and in the other as "userY" ... and each has different data in the session, that might screw up a lot if one application uses the session data of the other > is there any standard procedure to prevent this from happening? > well i wrote a work around ... is that necessary? > or does any PEAR component handle this? i have not found anything yet > Wolfram

« previous php.general (#70368) next »