File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
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: 69
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: 57
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to create JSESSIOINID per context (web application) in websphere(Single Domain)?