WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Session affinity vs sticky session

    Posted 09/12/16 02:46 PM

    Hi All,

    can any help in understanding difference between session affinity and session stickyness.

     

    kalyan.



  • 2.  RE: Session affinity vs sticky session

    Posted 09/14/16 12:24 PM

    There is no difference as such. I believe it's just a synonym.

    The meaning remains same, "the subsequent requests are sent to the same app server which has created the session for the first request". This is achieved through a clone id in WebSphere Context. Meaning, every server in an app server cluster associates a  clone id with session id. A similar analogy is being followed by other app servers like Tomcat, JBoss and Weblogic.

    Further, the terminology belongs to an app server implementation context. Ex; JBoss and Tomcat uses "Sticky session" to explain same analogy where in webshpere uses "Session Affinity". That's only difference I see.

    Thanks,

    Krish