Re: [PHP] Central authentication for multiple sites

2003-09-29 Thread Mike Migurski
>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 differen

Re: [PHP] Central authentication for multiple sites

2003-09-29 Thread Marek Kilimajer
Because the sites are on the same server, it is simple. Use sessions and pass SID in urls to other domains. Fraser Campbell wrote: 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 someo

Re: [PHP] Central authentication for multiple sites

2003-09-29 Thread Kevin Bruce
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...