Hi,

I'm new to the group and have a similar problem.  Much of our Session Tracking
was done through hidden parameters and DB lookups which is obviously a very
inefficient way of session tracking.

We have discovered that sessions are tied to a single server, but we think you
can configure JServ to enable session tracking accross multiple VMs.  It sounds
as though once a session is established each subsequent request from the user is
directed to the server which stores their session.  But you do have to configure
the servers properly.

I'd recommend reading the following:
http://java.apache.org/jserv/howto.load-balancing.html#Session

It doesn't give too much information but if anyone knows of other examples etc.
I'd appreciate it too.

Cheers,

Simon

"Manish, Singh (IE10)" wrote:

> No i think sessions are not maintained across different servers, they are
> tied down to a single server.
>
> Manish
>
> > -----Original Message-----
> > From: Matthias Kümpel [SMTP:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 20, 2001 3:43 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: sessions across multiple servers
> >
> > Hi,
> >
> > i never worked with load balancing systems, so i dont know if they provide
> > a
> > session tracking across
> > servers.
> >
> > but to work around the problem you could implement your own session
> > management
> > based on the ip of
> > the client, which will be the same on every server.
> >
> > maintaining a list of clients by using ejb-session beans to handle
> > timeouts.
> >
> > we are using a similar approach for managing sessions ( but we still use
> > the
> > HttpSession as the basic element ),
> > keeping the main session information in ejbs.
> >
> > Regards,
> > Matthias Kümpel
> >
> >
> >
> > Vincent Stoessel wrote:
> >
> > > Hello,
> > >
> > > does any one know if it is possible to maintain/implement  a session
> > > across multiple servers? we have a load balancing solution in place
> > > and I want to maintain the user session no matter what server they land
> > > on. Thanks in advance.
> > >
> > > --
> > > Vincent Stoessel [EMAIL PROTECTED]
> > > Internet Applications Engineer
> > > IDEV http://www.idev.com
> > > V: 301 495 7345 x129
> > >
> > >
> > __________________________________________________________________________
> > _
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources: http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
> > __________________________________________________________________________
> > _
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--
Simon Faughnan
Analyst Programmer
All-Hotels.com
Tel: + 44 (0) 131 625 1070
Mobile: + 44 (0) 77 20532311
email: [EMAIL PROTECTED]
site: www.all-hotels.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to