Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

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

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic