• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Set sessionIdLength just for one application

 
Julio Ayala
Greenhorn
Posts: 15
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I would like to know if it is possible to define the sessionIdLength just for one web application deployed in a tomcat6. I know that if I include



in the context.xml it will work out, but it will modify the sessionIdLength for the others applications deployed in the same server.

Thank you in advance
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you want to?

The session ID is nothing but a hash key for sessions. From the way the docs read, the actual session map is common to the entire Tomcat container, not one session map per Context. Which probably has to do with the fact that there is an option that permits a session to be shared across multiple webapps. So I can see where things would get messy if apps didn't have a common ID format.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic