You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James Maidment <ja...@kizoom.com> on 2004/06/16 16:40:22 UTC

Setting the Session Id length

Hi,
 
Fairly recently, methods appeared in org.apache.catalina.session.ManagerBase (setSessionIdLength()) to allow variation of the Session Id length, however I can't find any way of actually calling these methods.  Can anyone tell me how this parameter should be set? (I'm using the embedded Tomcat within JBoss)
 
Many thanks,
  James

Re: Setting the Session Id length

Posted by Tim Funk <fu...@joedog.org>.
In your Host or Context declaration, you'll need to create to add a element 
to declare your session  manager. Then add the property: sessionIdLength="42" 
or whatever length you'd like. It might be as simple as:

   <Manager sessionIdLength="42"/>


-Tim

James Maidment wrote:

> Hi,
>  
> Fairly recently, methods appeared in org.apache.catalina.session.ManagerBase (setSessionIdLength()) to allow variation of the Session Id length, however I can't find any way of actually calling these methods.  Can anyone tell me how this parameter should be set? (I'm using the embedded Tomcat within JBoss)
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org