Guillaume Dupuis wrote:
Hi,

I am new to PHP, so I hope I phrase this okay :)

We currently have 3 php servers. Can we use the same SessionID to connect
across the 3 systems? If not, what would you suggest to minimize the number
of login prompts, while keeping secure?

Thanks in advance,
Guillaume Dupuis

If the servers are only virtual servers on the same physical server and all store their sessions in the same directory, there is no problem, you only need to pass the session ids in all links to the other servers.

If you have 3 physical servers, you need to make one of them to store the sessions and others to request that sessions. The implementation depends on your possibilities. You can make the session directory accessible to the other servers using samba or NFS, or you can make a script that will provide session information on request. You will still need to pass session ids to the other domains.

Marek

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to