Forum Moderators: coopster

Message Too Old, No Replies

Cross site session tracking

Is it possbile to use session variable across different sites

         

kunwarbs

10:14 am on Jun 30, 2007 (gmt 0)

10+ Year Member



I have two websites running on two different server offering different services to the Members.

I have a common database of members who may register with either of the websites and use the same login details to access the another site services.

I am using PHP session tracking and would like to know whether it is possible to maintain and use the session between the two sites hosted on different servers so that user has to login once only and may navigate through any of the website with the same session.

Please advise.

londrum

10:30 am on Jun 30, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



you could do it like this... when you save a user's session details on your own server, instead of putting the file inside the /tmp folder, or however you've got it set up at the moment, log it in a database instead. and then give both sites access to the same database.

kunwarbs

4:52 am on Jul 4, 2007 (gmt 0)

10+ Year Member




you could do it like this... when you save a user's session details on your own server, instead of putting the file inside the /tmp folder, or however you've got it set up at the moment, log it in a database instead. and then give both sites access to the same database.

Can you please guide me how to do that?