>>> Daniel Ostermeier <[EMAIL PROTECTED]> 10-Dec-99 12:31:53
AM >>>
>In response to a recent post discussing possible problems related
to
>session tracking and load balancing - ie, a client moving from one
>server to another results in the "session" being "lost" on the
other
>server - has anyone tried using JNDI to keep track of a session
>object?
This is not a bad idea in my view... I looked at it some time ago but
have never got round to completing the work.
My idea was to have a security system provided by LDAP (or some
directory provider) and tie a session to it. I'm still keen on the
idea of having a security system built like this but the session stuff
doesn't really work.
The difficulty is that most directory providers require some sort of
schema for the directory object so you can't just add arbritary
objects to the directory as you need to be able to do with a session.
The answer is to use a JDBC link instead and have the session
implementation talk to the database for storage of objects.
Of course the trouble is always performance... which is generally why
you're trying to distribute the session handling in the first place.
Nic Ferrier
___________________________________________________________________________
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