PDA

View Full Version : Sharing Sessinos


nsr81
09-23-2002, 08:18 PM
This is not a directly vB related question, but I'll appreciate if someone can help.

I need to share session data between two servers. The servers are on different networks. I have a login script at server A, which after authenticating user sets user id and username. Now I have some script at server B which requires the same authentication that was done on server A. Is there anyway that after loggin into A, when the user clicks on a link to server B the session variable get passed along and a the user doesn't have to log in at server B.

thanks in advance :)

Admin
09-25-2002, 06:20 AM
Are you using PHP4's built in sessions or something you created yourself?

nsr81
09-25-2002, 02:34 PM
PHP's built in sessions.

Server A (with main database): PHP 4.2.2
Server B: PHP 4.1.2

Thanks :)