tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Morgan" <>
Subject RE: Uniqueness of a sessionId
Date Fri, 08 Jan 2010 13:36:35 GMT

I've been silently following your thread (mainly because I'm not even
remotely as smart as the folks out here), but it seems you have an issue
of architecture, and not of Tomcat capabilities.

I'm still not sure what you are doing, but it seems you want to be able
to pass (and cache as a session) data between instances.  Many do this
with either a DB or a messaging system (which is essentially a DB app
with correlation abilities). 

If you simply need unique IDs across contexts, you should think about
setting up a service to issue those IDs.  A quick hack on that would be
to set up a very small app with a single service that spits back session
id's.  However, if those session id's need to be persistent, a DB table
with a single autoincrement would suffice. 

-----Original Message-----
From: Arnab Ghosh [] 
Sent: Friday, January 08, 2010 7:07 AM
To: Tomcat Users List
Subject: Uniqueness of a sessionId

Dear Friends,

I have an doubt.Tomcat is using
*org.apache.catalina.session.ManagerBase* to
generate sessionId. Now I wants to know whether this generated key will
unique in all context running under a tomcat service or it will be
under a particular context??


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message