|  | Posted by Jerry Stuckle on 06/10/07 13:37 
Samir Chouaieb wrote:> Hello,
 >
 > I am trying to find a solution to a login mechanism for different
 > domains on different servers with PHP5.
 >
 > I have one main domain with the user data and several other domains that
 > need a login to show data.
 >
 > I want the user to login only once when he visits any of my domains.
 >
 > The first idea is had is to use the same session for all domains. Is
 > this possible?
 >
 > Any help or hint is appreciated.
 >
 > Thanks in advance
 >
 > Best regards
 > Samir
 
 No, it's not.  Cookies are designed to be domain specific.  For security
 reasons, the browser won't send a cookie belonging to one domain on to
 another domain.
 
 If all of these sites are so closely related, why are they different sites?
 
 
 --
 ==================
 Remove the "x" from my email address
 Jerry Stuckle
 JDS Computer Training Corp.
 jstucklex@attglobal.net
 ==================
  Navigation: [Reply to this message] |