Patent ID: 7962566

Claim:
A method for session management of a server, the method comprising: receiving, by a service manager of the server, one or more service requests; dispatching the one or more service requests to a first server process and a second server process; segregating data of a session, corresponding to the one or more service requests, into core data and cache data, the cache data managed by the first server process associated with the server, wherein segregating the data of the session comprises: in the presence of a tag associated with the one or more session requests, identifying from the tag whether the data of the session is core data or cache data; segregating the data of the session into core data and cache data in response to the identified tag; calling a core method, in the absence of the tag, in a session manager from the application if data should be in the core data, wherein the core method creates a core session object to retain the core data; adding the core data to the core session object in response to calling the core method; and calling a cache method, in the absence of the tag, in the session manager from the application if data should be in the cache data, wherein the cache method creates a cache session object to retain the cache data, and wherein the cache session object is managed in a local cache of the first server process while the core session object is managed in a shared memory of the server; persistently storing the core data outside the first server process; providing access by an application within the second server process to the core data responsive to a failover caused by a failure condition in the first server process; discarding the cache data responsive to the failover; and reconstructing the cache data from the core data via the application within the second server process having access to the core data.