Discussions

General J2EE: What is session affinity ?

  1. What is session affinity ? (1 messages)

    What is session affinity ? and how it is implemented ?
  2. What is session affinity ?[ Go to top ]

    Most servers use the term "Session Affinity" to indicate that within a cluster of servers, requests from the same client alway get routed back to the same server. This eliminates the need to replicate session data like the HttpSession or Stateful Session Beans.

    Implementations vary, but is usually base on some kind of routing scheme that identifies the client by IP address or a browser cookie.