主权项 |
1. A method for managing user sessions in an enterprise environment, the method comprising:
generating, with one or more computer systems, a session cookie maintaining data related to a session of a client device in an enterprise environment; sending the session cookie to the client device instructing the client device to store the session cookie; receiving, at the one or more computer systems, a request from a user to access a feature of an application on the enterprise environment; determining, with one or more processors associated with the one or more computer systems, whether the feature requires a server-side session; instantiating, with the one or more processors associated with the one or more computer systems, a server-side session object for the user in response to the request when the feature requires a server side session; updating, with the one or more processors associated with the one or more computer systems, the server-side session object with a reference to the session cookie on the client device; generating with the one or more processors associated with the one or more computer systems, a response to the request based on accessing the feature using the server-side session object; and sending the response to the client device. |