File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

IBM HTTP Server Session Affinity

Thad Smith

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. and a JSESSIONID cookie, which takes precedence? The cookie or the URL param?
Xusheng Gong

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

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:
subject: IBM HTTP Server Session Affinity
Similar Threads
Session Security
websphere plugin session affinity problem
disable jsession id
disabling cookie
jsessionid in URL