Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

IBM HTTP Server Session Affinity  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
The two armies met. But instead of battle, they decided to eat some pie and contemplate this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!