• 1 reply
  • Latest Post - ‏2011-10-24T21:37:50Z by seohulu
1 Post

Pinned topic session management

‏2011-10-23T05:31:45Z |
How do we maintain session between different servers. Suppose in an application, after session is established with server, control goes to new application then how do we code such that the session comes back to the same server from which it went. any inputs on this would be very helpful.
Updated on 2011-10-24T21:37:50Z at 2011-10-24T21:37:50Z by seohulu
  • seohulu
    6 Posts

    Re: session management

    Our company has several tomcat servers, the load balancer forward the user requests ( in one session )to different servers. For manage the session, there is a central persistence DB which is shared by those tomcat server; the persistence control wake up every 200 millisecond to check if there is new object which need to be save to central persistence DB; For each request, there is also a filter which loading the session data from central persistence DB.
    hope that this is helpful.

    Acoolme is an Online Marketing Software Platform And Social Community