tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Session handling over different Tomcats
Date Mon, 09 Apr 2001 10:40:09 GMT
We had the idea to use rmi too. We have the problem, that we are not allowed
to use cookies. So we have to make an url rewrite (other ideas ?). We think
that it would
cost a lot of performance to make a call for every request to the session

What do you think of a special apache module for adminstration of the
different session ids.

-----Original Message-----
From: Alistair Hopkins []
Sent: Montag, 9. April 2001 11:21
Subject: RE: Session handling over different Tomcats

how about running a separate login java instance on one of the boxes which
can be called by all servers over RMI to check login?

-----Original Message-----
From: Moin Anjum H. []
Sent: Monday, April 09, 2001 10:22 AM
Subject: Re: Session handling over different Tomcats


    Sound a pretty complicated problem. If you don't want to work hard i
have a
not a very good solution. What you can do is Keep the SessionId in the
Apart from id keep track of the time also in the database for session

    Other way i think should be able to communicate with the help of servlet
Have a servlet deployed in tomcat. So there will be 4 servlet in 4 tomcats.
servlet will check the session table and return either true or false
on the session id present in session table. One servlet will send request to
other four servlet and check if the session id is present in the session
Sound pretty complecated.

Moin. wrote:

> Hello,
> has anyone experience in session handling over different tomcats ?
> The scenario is as follows:
> - one apache
> - four tomcats at the apache
> - every tomcat contains an application of a third party company with its
> session handling
> Problem:
> Implementing a global session handling between this four applications
> (single login) !
> Any Ideas ?
> Thanks !

View raw message