Guillaume Dupuis <mailto:[EMAIL PROTECTED]>
    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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to