> From: Andrew R Feller [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat JSessionID regex
> 
> While working on a trending tool, I decided to capture users' session
> IDs.  However, I don't know A.) How long they are OR B.) What 
> characters are valid for a session ID.

The servlet spec does not define any limitations for either.  You can
look in the Tomcat source code for whatever level you're running on to
see what it happens to be generating today, but it's subject to change
at any time.  Note in particular that the length is configurable, so it
can be different on each Tomcat installation:
http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html

Associated source code:
  org/apache/catalina/session/ManagerBase.java

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to