File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom cookie name for every war

 
Rajesh So
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

We can rename JSESSIONID in server or application level. Is it possible to configure a different session ID for every WAR in the EAR file?
If there are 5 web applications present in a EAR file, I don't prefer to share the same JESSIONID between all the five applications. Each WAR requires a different JSESSIONID. This configuration is possible in weblogic, but I am not able to find a similar one in Websphere.
Is it possible to configure in ibm-web-ext.xmi or ibm-web-bnd.xmi ?

Regards,
Raj
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33671
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if you can change the cookie name. However, you can set the cookie path based on the URL of each application.
 
Rajesh So
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it working by web admin console via Applications > applicationName > Manage modules > select war > Session Management.
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-base-iseries&topic=tpercnfs

Thanks any way for looking into my problem

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic