Ferguson, Doug typed the following on 09:35 AM 1/31/2001 -0600
>Is there an elegant way to implement session variables in a load balancing
>senario? If I understand correcty everything is stored on the
>server and a sessionID is store in the users browser so that the 
>server can look it up. But what happens when the user gets routed
>to another server which doesn't have their info stored in the session,
>we wouldn't want them to log in again.  We though about placing this
>info in our ejb layer. But we'd like to not have to do a remote call
>just for authentication purposes.

Preliminary work has started on distributed sessions for Tomcat 4, but it 
isn't likely to be ready for production use for quite a while. Setting your
own cookie to ID the user and then using an EJB is probably the quickest
way to get this working if your load balancer can't be relied on to keep
the user on a single server.

Kief


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to