General J2EE: What is session affinity ?
What is session affinity ? and how it is implemented ?
- Posted by: Udaya Bhaskar
- Posted on: February 12 2004 06:32 EST
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.