We are using a load balancer which routes the request to one of the machines. we have 
JavaWebServer2.0 running on both the machines and one of the machines serves the 
content.

We are using sessions in our jsp pages. First when a jsp page is requested, we are 
storing some values in the session. later when another jsp page is accesses we are 
using the values stored in the session earlier. now hte problem is if the next request 
is also routed to the same machine, the session values are being retrieved and 
everything works fine. but if the next request is routed to another machine the values 
stored in the earlier erquest on the first machine are not being accessessible and the 
session values are returning null.

So if JSP pages are being served from 2 different machines, how can the same session 
be maintained on both the machines.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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