One of the other solution is to use statefull EJB.
 
Regards

        -----Original Message----- 
        From: Brad Rhoads 
        Sent: Thu 8/30/2001 3:05 PM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: Re: using Load balancers with JSP pages
        
        

        You can create your own session id, which can be passed in the
query string
        or in a form, and store your session vars in a database, keyed
by the
        varname & session id.
        
        > -----Original Message-----
        > From: A mailing list about Java Server Pages specification
        > and reference
        > [mailto:[EMAIL PROTECTED]]On Behalf Of sumabala
v.Jilludumudi
        > Sent: Thursday, August 30, 2001 7:42 AM
        > To: [EMAIL PROTECTED]
        > 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
        

�{.n�+���j)m�X��ǫ�6�j˧r����[�ܬ�    �}�R<�SLZ+v(�ٚ�[h�+-��ڲ�ܢl"��w+��� 
��DD���I4���ޕ�ڞ�@B�'%#�I���lq��y�.�֭��i��ڽ�.��&���v�-����ڪf�m�������ڞ�(�   
  ��;)�;)}���ia���0����&�8.���j��j�Z���v�x����i��0�8.��(��ົ�}��}��j���ڙ䞮�^�

Reply via email to