tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Morgan" <joseph.mor...@ignitesales.com>
Subject RE: Uniqueness of a sessionId
Date Fri, 08 Jan 2010 13:36:35 GMT
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:ghosh@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message