aspose file tools
The moose likes Websphere and the fly likes Is it possible to create  JSESSIOINID per context (web application) in websphere(Single Domain)? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "Is it possible to create  JSESSIOINID per context (web application) in websphere(Single Domain)?" Watch "Is it possible to create  JSESSIOINID per context (web application) in websphere(Single Domain)?" New topic
Author

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

selva raja
Ranch Hand

Joined: Nov 24, 2009
Posts: 65
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
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)?
 
Threads others viewed
****ServletContext and WebApplication confusion****
000-341 sample test questions
HttpSession and cookies
inconistent session time-out,cookie name change is not a option
ISSUES WITH COOKIE(JSESSIONID)
MyEclipse, The Clear Choice