Hi,
Usually this is maintained by load balancing software. The should be a setting 
enabling you to "stick" a connection to a server, i.e. if a client connects to SRV1, 
she/he remains connected to this server until disconnected explicitly or timed out. 
You also should be able to set a value for timeout, and be able to disconnect 
(unstick?) the client (through some kind of API). Check for example IBM Network 
Dispatcher and its Server Directed Affinity (SDA) at http://www.redbooks.ibm.com (lots 
of other goodies there, too.)

Best regards,
Piotr

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of K Ramesh
Sent: Monday, May 22, 2000 5:22
To: [EMAIL PROTECTED]
Subject: Session management across a load balanced webserver


Hi

I want to maintain session information across a load balanced webserver. How do
i do it?

The problem is as follows.

There is an array of webservers across which requests from the client are load
balanced. In such a scenario,
lets say a request from USER1 for PAGE1 will be processed by SERVER1. When USER1
enters the information
in PAGE1 and hits submit, PAGE2 has to be made available. This request can go to
SERVER2 also. How do I
maintain the session in this case?

Hope i have made the question clear!

Thanks for ur insights.
K Ramesh

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to