There is a configuration setting on the load balancing tool that allows a
session connection to be linked to the same machine for the duration of the
session.

We use a load balancing tool called radware and some of our applications are
balanced on 50 servers. It works fine , different requests from the associated
with the same session are handled appropriately.

Santosh








"sumabala v.Jilludumudi" <[EMAIL PROTECTED]> on 08/30/2001 08:42:16 AM

Please respond to A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Santosh Daryani/IT/Aon Consulting)

Subject:  using Load balancers with JSP pages



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

===========================================================================
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