Re: Using Post like Get

From: Date: Fri, 23 Jul 2004 16:10:48 +0000
Subject: Re: Using Post like Get
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-191663@lists.php.net to get a copy of this message
Dennis Gearon wrote:
What I'm trying to achieve is to have the same cookie IDENTIFY a user on different (or same) applications (on the same server), but require them to log in for each application, and get a different session.. Basically, to keep separate 'user trails and in process variables' for different tabs or windows in a browser.
Can't you just set $_SESSION['application_name']['loggedin'] = TRUE for the various applications? If they are accessing application "widget", then checking for isset($_SESSION['widget']['loggedin']) will tell you whether they are logged in or not. Or am I missing something? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#191663) next »