Re: Uniqueness of a sessionId

2010-01-09 Thread Arnab Ghosh
Dear Friends, Actually in my app I will be having 100 - 200 separte application/context which will forward request to a separate application / context running under same tomcat. I am doing this using cross-context mechanism. By this way I can reuse the servlets/jsp instances of that context. But

Re: Uniqueness of a sessionId

2010-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arnab, On 1/9/2010 1:14 AM, Arnab Ghosh wrote: > How it will be I create a new manager which will extend standardmanager and > then if overload the generateSessionId() method. I will mot change the > session Id generation code. Instead of that I will

Re: Uniqueness of a sessionId

2010-01-09 Thread Pid
On 08/01/2010 20:46, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arnab, On 1/8/2010 8:07 AM, Arnab Ghosh wrote: 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 u

Re: Uniqueness of a sessionId

2010-01-08 Thread Arnab Ghosh
Dear Friends, How it will be I create a new manager which will extend standardmanager and then if overload the generateSessionId() method. I will mot change the session Id generation code. Instead of that I will add a new static set and will store all generated sessionId there. I will continue th

Re: Uniqueness of a sessionId

2010-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 1/8/2010 8:38 AM, Tim Funk wrote: > The way things work now by default ... The session cookie is set at the > path level and is different per context. So you may have multiple > sessino id cookies set for a given server (but given the path con

Re: Uniqueness of a sessionId

2010-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arnab, On 1/8/2010 8:07 AM, Arnab Ghosh wrote: > 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 s

RE: Uniqueness of a sessionId

2010-01-08 Thread Joseph Morgan
So, can you setup a service in A to generate all session ids for all contexts? -Original Message- From: Arnab Ghosh [mailto:gh...@glenwoodsystems.com] Sent: Friday, January 08, 2010 8:15 AM To: Tomcat Users List Subject: Re: Uniqueness of a sessionId Dear Joseph, Actually I am working

Re: Uniqueness of a sessionId

2010-01-08 Thread Arnab Ghosh
Dear Joseph, Actually I am working on a cross-context application. There is one main application say A . It is a very big application . Now I want to create some more separate context which will reuse the context A. These other context will be very lightweight and will contain only one servlet and

Re: Uniqueness of a sessionId

2010-01-08 Thread Tim Funk
The way things work now by default ... The session cookie is set at the path level and is different per context. So you may have multiple sessino id cookies set for a given server (but given the path constraint on the cookie - you only get one of those cookies (typically)) But (IIRC) you can a

RE: Uniqueness of a sessionId

2010-01-08 Thread Joseph Morgan
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 se