RE: [PHP] Shared SessionIDs?

From: Date: Tue, 04 Nov 2003 22:55:15 +0000
Subject: RE: [PHP] Shared SessionIDs?
Groups: php.general 
Request: Send a blank email to php-general+get-168513@lists.php.net to get a copy of this message
Guillaume Dupuis <mailto:guillaume.dupuis@sand.com> on Tuesday, November 04, 2003 2:36 PM said: > We currently have 3 php servers. Can we use the same SessionID to > connect across the 3 systems? If not, what would you suggest to > minimize the number of login prompts, while keeping secure? Here's an idea (whether or not it's a good idea is another story): Store the username+password as an MD5 hash in a cookie, also store the user id. Then on the other servers you can read the user id and use that to pull out the username and password hash (you do hash your passwords within the database right?) from a database and then hash those two and compare the result with the cookies info. Chris. -- Don't like reformatting your Outlook replies? Now there's relief! http://home.in.tum.de/~jain/software/outlook-quotefix/

« previous php.general (#168513) next »