Session information inheriting method and apparatus
First Claim
Patent Images
1. A method of inheriting session information when a client browser is piloted from one web application server of a plurality of web application servers of one web site to another web site, and back to the one web application server of the plurality of web application servers of said one web site, the method comprising:
- receiving by an authentication server of the one web site an initial request to access the one web site by the client browser, the authentication server presenting one IP address to the client browser for accessing the one web site, and the authentication server further authorizing the initial request;
forwarding, by the authentication server, the initial request via a first cluster address of a plurality of cluster addresses to a load balancing server of the one web site, the plurality of cluster addresses being cluster addresses of the load balancing server, and wherein requests received at the load balancing server via the first cluster address are forwarded by the load balancing server to one web application server of the plurality of web application servers according to a load balancing strategy, the load balancing server selectively addressing each web application server of the plurality of web application servers of the one web site, each web application server of the plurality of web application servers comprising a web application, a first redirect application and a second redirect application, the first redirect application accepting requests to begin a web application session, and the second redirect application accepting requests to restore a web application session upon return by the client browser to the one web site;
dispatching, by the load balancing server, the initial request to the one web application server of the plurality of web application servers of the one web site;
subsequent to receipt of the initial request at the one web application server, generating via a first redirect application executing on the one web application server a redirect response setting therein a second cluster address of the plurality of cluster addresses of the load balancing server for redirecting the client browser on the basis of the second cluster address, the second cluster address being a virtual address of the load balancing server, the second cluster address being associated by the load balancing server with the one web application server, and the load balancing server directing requests addressed to the second cluster address through the load balancing server to the one web application server;
transmitting the redirect response comprising the set second cluster address to the client browser;
responsive to receipt of the redirect response at the client browser, setting at the client browser the second cluster address in a cookie associated with the one IP address of the authentication server; and
receiving another request from the client browser, the client browser having been piloted back to the one web site from the another web site, the another request comprising the cookie associated with the one IP address, the another request being forwarded by the load balancing server via the first cluster address to another web application server of the plurality of web application servers, the another web application server, on the basis of receiving the cookie comprising the second cluster address, executing the second redirect application to generate another redirect response for redirecting the client browser via the second cluster address back to the one web application server for resuming the web application session, wherein the another redirect response, when received by the client browser, causes an automatic browser refresh to redirect the client browser via the second cluster address back to the one web application server.
1 Assignment
0 Petitions
Accused Products
Abstract
A method is disclosed to maintain session continuity between a browser and an initial server in a cluster when the browser is transferred from the initial server to a different server and returned thereafter to the original server.
15 Citations
6 Claims
-
1. A method of inheriting session information when a client browser is piloted from one web application server of a plurality of web application servers of one web site to another web site, and back to the one web application server of the plurality of web application servers of said one web site, the method comprising:
-
receiving by an authentication server of the one web site an initial request to access the one web site by the client browser, the authentication server presenting one IP address to the client browser for accessing the one web site, and the authentication server further authorizing the initial request; forwarding, by the authentication server, the initial request via a first cluster address of a plurality of cluster addresses to a load balancing server of the one web site, the plurality of cluster addresses being cluster addresses of the load balancing server, and wherein requests received at the load balancing server via the first cluster address are forwarded by the load balancing server to one web application server of the plurality of web application servers according to a load balancing strategy, the load balancing server selectively addressing each web application server of the plurality of web application servers of the one web site, each web application server of the plurality of web application servers comprising a web application, a first redirect application and a second redirect application, the first redirect application accepting requests to begin a web application session, and the second redirect application accepting requests to restore a web application session upon return by the client browser to the one web site; dispatching, by the load balancing server, the initial request to the one web application server of the plurality of web application servers of the one web site; subsequent to receipt of the initial request at the one web application server, generating via a first redirect application executing on the one web application server a redirect response setting therein a second cluster address of the plurality of cluster addresses of the load balancing server for redirecting the client browser on the basis of the second cluster address, the second cluster address being a virtual address of the load balancing server, the second cluster address being associated by the load balancing server with the one web application server, and the load balancing server directing requests addressed to the second cluster address through the load balancing server to the one web application server; transmitting the redirect response comprising the set second cluster address to the client browser; responsive to receipt of the redirect response at the client browser, setting at the client browser the second cluster address in a cookie associated with the one IP address of the authentication server; and receiving another request from the client browser, the client browser having been piloted back to the one web site from the another web site, the another request comprising the cookie associated with the one IP address, the another request being forwarded by the load balancing server via the first cluster address to another web application server of the plurality of web application servers, the another web application server, on the basis of receiving the cookie comprising the second cluster address, executing the second redirect application to generate another redirect response for redirecting the client browser via the second cluster address back to the one web application server for resuming the web application session, wherein the another redirect response, when received by the client browser, causes an automatic browser refresh to redirect the client browser via the second cluster address back to the one web application server. - View Dependent Claims (2)
-
-
3. A method of inheriting session information, comprising:
-
receiving an HTTP request for one web site employing an authentication server through which HTTP requests are received, the authentication server presenting one IP address for accessing the one web site; authenticating the HTTP request at the authentication server; subsequent to authentication of the HTTP request at the authentication server, forwarding the HTTP request via a first cluster address of a plurality of cluster addresses from the authentication server to a load balancing server of the one web site, the plurality of cluster addresses being cluster addresses of the load balancing server; forwarding the HTTP request from the load balancing server to one web application server of a plurality of web application servers, the load balancing server selectively addressing each web application server of the plurality of web application servers, wherein requests received at the load balancing server via the first cluster address are forwarded by the load balancing server to one web application server of the plurality of web application servers according to a load balancing strategy, each web application server of the plurality of web application servers comprising a web application, a first redirect application and a second redirect application, the first redirect application accepting requests to begin a web application session, and the second redirect application accepting requests to restore a web application session upon return by the client browser to the one web site, and wherein subsequent to the forwarding the HTTP request to the one web application server, a web application session is commenced; reading, by the first redirect application of the one web application server, cluster address information from a configuration file of the one web application server, the configuration file comprising the plurality of cluster addresses of the load balancing server, and obtaining a second cluster address of the plurality of cluster addresses from the configuration file, the second cluster address being uniquely associated with the one web application server; generating, via a first redirect application executing on the one web application server a redirect response setting therein a second cluster address of the plurality of cluster addresses of the load balancing server for redirecting the client browser on the basis of the second cluster address, the second cluster address being a virtual address of the load balancing server, the second cluster address being associated by the load balancing server with the one web application server, and the load balancing server directing requests addressed to the second cluster address through the load balancing server to the one web application server; setting the second cluster address of the plurality of cluster addresses of the load balancing server as a cookie in the redirect response; transmitting the redirect response comprising the cookie to a client browser initiating the HTTP request; and receiving another HTTP request from the client browser, the client browser having been piloted back to the one web site from another web site and the another HTTP request being a request to resume the web application session, the another HTTP request comprising the cookie, the another HTTP request being forwarded by the load balancing server via the first cluster address to another web application server of the plurality of web application servers, the another web application server, on the basis of receiving the cookie comprising the second cluster address, executing the second redirect application to generate a new redirect response for redirecting the client browser via the second cluster address back to the one web application server for resuming the web application session, wherein the new redirect response, when received by the client browser, causes an automatic browser refresh to redirect the client browser via the second cluster address back to the one web application server. - View Dependent Claims (4)
-
-
5. A method of inheriting session information, comprising:
-
receiving an HTTP request for a web site employing an authentication server through which HTTP requests are received, the authentication server presenting one IP address for accessing the web site; authorizing the HTTP request at the authentication server; forwarding, by the authentication server, the HTTP request via a first cluster address of a plurality of cluster addresses to a load balancing server of the one web site, the plurality of cluster addresses being cluster addresses of the load balancing server; subsequent to authorization of the HTTP request at the authentication server, checking at the load balancing server of said web site whether cluster address information of the load balancing server of the web site is embedded in a cookie for the received HTTP request, the cluster address information comprising a load balancing server cluster address of the plurality of cluster addresses; forwarding the HTTP request from the load balancing server to a web application server of the web site, the forwarding being on the basis of the cluster address information, if a cookie was received with the HTTP request, or on the basis of a load balancing strategy, if a cookie was not received with the HTTP request, the web site comprising a plurality of web application servers, each web application server of the plurality of web application servers comprising a web application, a first redirect application and a second redirect application, the first redirect application accepting an initial request forwarded through the authentication server and the load balancing server to begin a web application session, and the second redirect application accepting a subsequent request forward through the authentication server and the load balancing server to restore a web application session upon return from another website; performing one of generating, via a second redirect application executing on one web application server of the web site, a redirect response at the web site employing the cluster address information, if the cluster address information is embedded in the HTTP request, or, if the cluster address information is not embedded, generating, via a first redirect application executing on the one web application server of the web site a redirect response setting therein a second cluster address of the plurality of cluster addresses of the load balancing server for redirecting the client browser on the basis of the second cluster address, wherein the redirect response, when received by the client browser, causes an automatic browser refresh to redirect the client browser on the basis of the second cluster address, the second cluster address being a virtual address of the load balancing server, the second cluster address being read cluster information from a configuration file of the one web application server and being uniquely associated by the load balancing server with the one web application server, and the load balancing server directing requests addressed to the second cluster address through the load balancing server to the one web application server; setting the cluster address information or the read cluster information as a new cookie in the redirect response; and transmitting the redirect response from the web site to a browser initiating the HTTP request.
-
-
6. A system of inheriting session information when a client browser is piloted from one web application server of a plurality of web application servers of one web site to another web site, and back to the one web application server of the plurality of web application servers of the one web site, the system comprising:
-
an authentication server at the one web site, the authentication server authorizing a request from a client browser, and presenting one IP address to the client browser for the one web site, the authentication server forwarding the request via a first cluster address of a plurality of cluster addresses to a load balancing server of the one web site, the plurality of cluster addresses being addresses of the load balancing server, and wherein requests received at the load balancing server via the first cluster address are forwarded by the load balancing server to one web application server of the plurality of web application servers according to a load balancing strategy, the load balancing server selectively addressing each web application server of the plurality of web application servers of the one web site, each web application server of the plurality of web application servers comprising a web application, a first redirect application and a second redirect application, the first redirect application accepting requests to begin a web application session, and the second redirect application accepting requests to restore a web application session upon return by the client browser to the one web site; wherein the first redirect application executing on the one web application server of the one web site generates a redirect response setting therein a second cluster address of the plurality of cluster addresses of the load balancing server for redirecting the client browser on the basis of the second cluster address, the second cluster address being a virtual address of the load balancing server, the second cluster address being read cluster information from a configuration file of the one web application server and being uniquely associated by the load balancing server with the one web application server, and the load balancing server directing requests addressed to the second cluster address through the load balancing server to the one web application server; wherein, responsive to receipt of the redirect response at the client browser, the client browser sets the second cluster address in a cookie associated with the one IP address of the authentication server; and wherein the authentication server of the one web site receives another request from said client browser, the client browser having been piloted back to the one web site from the another web site, the another request comprising the cookie associated with the one IP address, the another request being forwarded by the load balancing server via the first cluster address to another web application server of the plurality of web application servers, the another web application server, on the basis of receiving the cookie comprising the second cluster address, executing the second redirect application to generate another redirect response for redirecting the client browser via the second cluster address back to the one web application server for resuming a web application session, wherein the another redirect response, when received by the client browser, causes an automatic browser refresh to redirect the client browser via the second cluster address back to the one web application server.
-
Specification