note 64704 deleted from ref.session by bjori

From: Date: Wed, 19 Apr 2006 21:05:49 +0000
Subject: note 64704 deleted from ref.session by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-108698@lists.php.net to get a copy of this message
Note Submitter: Eric ---- Two different web application using the same session variables: I have two totally different applications. They are all using session variables to authenticate users. When a user visit these two applications at the same time, if he logs out in one application, he will also be logged out automatically for the other one. Since the application's logout php script is: session_start(); session_destroy(); $_SESSION=array(); So, logging out in one application will actually destory all the session variable. Also, if they both authenticate a user based on checking session variable session['username'], when you login in one application, you actually logged in both. How can I make this work?

« previous php.notes (#108698) next »