Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to create JSESSIOINID per context (web application) in websphere(Single Domain)?

 
selva raja
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear team,

I have a websphere server configured in cluster environment, and I deploy more than one web applications in single domain(_www.xxxx.com). I am not able to access all applications in same browser tabs(Like IE...).

This is due to singe session id shared for same browser. To overcome this issue, I have created JSESSIONID programmatically and worked in JBOSS server.

Is it possible to create different JSESSIONID per context (web application) in Websphere server?

Thanks,
selva
 
Brian Hennessy
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes in the admin console (I'm on WAS 6.0)

Enterprise Applications => app Name => Session Management => Cookies

The cookie path will be set to /

change this to /set_value_here , some people use the apps context root so change it to /your_context_root
Make sure though that if you uninstall and reinstall your app you set this value again. Might be worth doing this through a jython deployment script.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic