At 11:16 AM 1/31/01, you wrote:
> > Our application is completely stateless except for login information.
> >  We do load balancing with a hardware load balancer which I believe
> >   is a Foundry Server Iron?
> >  I now considering keep our login state in a stateful session bean(ejb)
> >  And store the home handle to this bean in a session cookie on the client
> >  I think I might store the same info in a tomcat session variable just for
> >  performance optimization, If it ain't in the session get it from the
> > appserver.
> >  if it ain't in the app server, send them to the login page. ?
> >
> >  Does this sound ridiculous?

No. If you have a hardware load-balancer, though, it should be able to 
preserve session affinity by looking at your cookie. I'm not familiar with 
Foundry's product but the F5 product can do it. Then if the app server 
serving the session dies, you might have to ask the user to log in again 
(or you might be able to transparently log them in again), but that should 
be rare.

-------------------------------------------------------------
Dennis Doubleday          email: [EMAIL PROTECTED]
yourfit.com, Inc.           web: http://www.yourfit.com/


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

Reply via email to