Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sharing cookie

Status
Not open for further replies.

ankursaxena

Programmer
Sep 7, 2001
133
US
Hi I have 2 servers that are running the same application, just that the database from which they fetch are different. For this system I am using cookie to store user login information, but no I want to access a webpage from the server2 while i am logged in to server1, for this I would have to share the cookie.

eg I have a machine 10.6.128.145 and 10.6.128.146

how do i do this in jsp?

thanks
 
The quick answer is that you cannot - the session id between servers and the browser will change. You must either use clustering, or sticky sessions.

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top