LoginShare | How to authenticate once, and login to different websites

From: Date: Tue, 01 Sep 2009 05:22:25 +0000
Subject: LoginShare | How to authenticate once, and login to different websites
Groups: php.general 
Request: Send a blank email to php-general+get-297534@lists.php.net to get a copy of this message
Dear list, i'm trying to integrate two php-driven web applications, which both require the user to authenticate using a username and a password. Consider a situation where the user has logged-in to the 1st application. She clicks over a hyper-link, which directs her to the 2nd application. The challenge is to automatically authenticate the user on the 2nd application as well. i'm wondering how? Is it secure to store the username and password in the $_SESSION, and share the session between the two applications? Please let me know what do you think. Thank you in advance, -behzad

« previous php.general (#297534) next »