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 IBM HTTP Server Session Affinity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "IBM HTTP Server Session Affinity" Watch "IBM HTTP Server Session Affinity" New topic
Author

IBM HTTP Server Session Affinity

Thad Smith
Greenhorn

Joined: Jul 12, 2013
Posts: 2
I have a question about how IBM HTTP Server performs session affinity using the default plugin-cfg.xml generated by WebSphere. If a request is generated with a jsessionid URL param (e.g. http://someurl.com/app?jsessionid=abc) and a JSESSIONID cookie, which takes precedence? The cookie or the URL param?
Xusheng Gong
Greenhorn

Joined: Jul 14, 2013
Posts: 2
From the infocenter, 'Enabling cookies takes precedence over URL rewriting. '

http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.ibm.websphere.nd.doc%2Finfo%2Fae%2Fae%2Fuprs_rsession_manager.html
Thad Smith
Greenhorn

Joined: Jul 12, 2013
Posts: 2
Hi Xusheng,

Thanks for the information. This article covers how WebSphere uses the JSESSIONID for session management, not how IBM HTTP Server (specifically the WebSphere plug-in for IHS) uses the JSESSIONID for server affinity (sticky sessions). I suspect that IHS prefers the cookie over the URL param the same way, but I haven't found any documentation that states this definitively.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IBM HTTP Server Session Affinity
 
Similar Threads
Session Security
websphere plugin session affinity problem
disable jsession id
disabling cookie
jsessionid in URL