You are here: Re: maintain a single session across multiple servers « PHP Programming Language « IT news, forums, messages
Re: maintain a single session across multiple servers

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация