Memmory will always be the problem with heavy traffic site, that's why you need 
technology that do load balancing for
you.  But if you want to avoid or at lease lesser your concern with the memory issue 
then you're going to surfer hits to
the database.  The technique here is, you serialize your session object(object that 
store unique identity of the user and
his/her current state) into the URL as a query string, and up on recieving a request 
from the user you will deserialize
the session object and ask the database if that is a valid user of your system.



Naga Yerramsetti wrote:

> We are facing the same problem. Since the sessions are maintained in memory with 
>high trafiic won't there be problems
> with memory.
>
> Danny Trieu wrote:
>
> > You can either use the HttpSession to manage your session or you can use EJB
> > stateful session beans.
> >
> > Newton Steve wrote:
> >
> > > What beans would you recommend for session management?  We're developing a
> > > site that uses JSP but the tool we've obtained does not do session
> > > management.  Any suggestions would be appreciated.  This will be used on a
> > > site with very heavy traffic.
> > >
> > > Thanks.
> > > ...................................................................
> > > Steve Newton
> > > Senior Web Developer
> > > [EMAIL PROTECTED]
> > > (864) 678-1543
> > > ...................................................................
> > > HomePoint Corporation
> > > 531 S. Main Street
> > > Greenville, SC 29601
> > > ...................................................................
> > >
> > > ===========================================================================
> > > 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
>
> ===========================================================================
> 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