主权项 |
1. A method for managing multiple client sessions in a distributed computing environment, wherein multiple clients may be coupled to at least one content server through a network, comprising:
receiving user login data, the user login data including user credentials; establishing a client session based on the user login data, the client session encapsulating a connection to the server; decoupling, upon detecting a conclusion of the client session, the encapsulated connection from the client session, prior to releasing the client session to a session pool; releasing, by the server in response to the client, the decoupled client session to the session pool; immediately releasing the decoupled connection to a connection pool after decoupling the encapsulated connection from the client session, wherein the release of the decoupled connection to the connection pool bypasses the release of the encapsulated connection to the session pool; receiving a request to re-use the decoupled connection; based on the received request, comparing the user credentials associated with the user login data with a copy of the user credentials stored in a user login record within a user login record cache, wherein the user login record includes a user login record expiration time; performing an authentication process using the copy of the user credentials stored in the user login record to authenticate the client when the user credentials match and the expiration time has not passed; and requesting verification of the user credentials to authenticate the client when the user credentials do not match or when the user login record expiration time has passed. |