aspose file tools*
The moose likes Websphere and the fly likes Custom cookie name for every war Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Custom cookie name for every war" Watch "Custom cookie name for every war" New topic
Author

Custom cookie name for every war

Rajesh So
Ranch Hand

Joined: Oct 08, 2002
Posts: 141
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

Joined: May 26, 2003
Posts: 31057
    
232

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Rajesh So
Ranch Hand

Joined: Oct 08, 2002
Posts: 141
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom cookie name for every war