dcsimg
server to server comm.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   manoj_mane
Posted On:   Tuesday, April 10, 2001 03:21 AM

if suppose company has multiple sites whose servers are located at different locations , if user has logged in any site then for getting access to another site he should not require to relogin.How to achieve this goal?.all sites uses common database for user authentication and has same login name and password througout all sites.

Re: server to server comm.

Posted By:   Michael_Wax  
Posted On:   Wednesday, April 11, 2001 03:38 PM

You could store session information in the common database. For example, you could create a table with a session ID as primary key, along with other information on the session, such as an expiration time. Each server could query the database to see if a session ID passed in by a client (in a cookie, or by URL rewriting) existed, and if the associated session was current. One concern would be to keep the session IDs long and non-sequential to keep unauthorized users from guessing them.
About | Sitemap | Contact