Arnab,

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 [mailto:gh...@glenwoodsystems.com] 
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
be
unique in all context running under a tomcat service or it will be
unique
under a particular context??

Thanks,
Ghosh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to