Re: Central authentication for multiple sites

From: Date: Mon, 29 Sep 2003 19:21:33 +0000
Subject: Re: Central authentication for multiple sites
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-164286@lists.php.net to get a copy of this message
Maybe you could go off of a timestamp in a last_visited, last_visitedIP fields. If it was less than 10 minutes ago, then they can move on. This, of course, would mean you'd have to add some UPDATE last_visited, last_visitedIP code at the header of every page (or on a common included header). Hmm... It wouldn't be foolproof, though<:P > Hi, > > Does anyone know of a way to authenticate a person on one site and have that > authentication carried through to multiple sites? > > Basically I'd like to have someone login on www.domain1.com and then have > their login be valid on www.domain2.com and www.domain3.com ... the domain > name is different so I don't see how I could use a common cookie. > > The 3 sites in question are hosted on a common server with a common user > database if that helps but still the domain names that people access the > sites with are unique. > > Any ideas? > > Thanks! -- Kevin Bruce Educational Web Designer VIP K-16 Grant http://www.scienceinquiry.org bruce@mdsg.umd.edu Maryland Sea Grant College 4321 Hartwick Road, Suite 300 College Park, MD 20740 301.403.4220 ext. 25 OR (on Wednesdays and Fridays) 717.637.5370 AOL Instant Messenger screen name- mdsgkevin

« previous php.general (#164286) next »