Is it possible to create JSESSIOINID per context (web application) in websphere(Single Domain)?
selva raja
Ranch Hand
Joined: Nov 24, 2009
Posts: 65
posted
0
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
Joined: Oct 24, 2005
Posts: 56
posted
0
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.
subject: Is it possible to create JSESSIOINID per context (web application) in websphere(Single Domain)?