Sharing sessions between web-based applications
First Claim
1. A method for sharing sessions between a plurality of web-based applications, the method comprising:
- accessing one of the plurality of web applications on an application server by a user, wherein each of the plurality of web applications are disparate and unassociated web applications, and wherein upon accessing the one of the plurality of web applications a session and a session object are created, and wherein said session object stores session information associated with the session in a computer readable storage medium, and wherein the one of the plurality of web applications is designated as a parent web application for the session object;
receiving, during the accessing of the parent web application, a request to access a different one of the plurality of web applications by the user;
determining that the user has already established the session with the parent web application by a sharable session manager;
generating by the sharable session manager a sharable wrapper object associated with the session object of the parent application responsive to said request if the session has been determined to have already been established, said sharable wrapper object containing a method for obtaining session information and a set of delegated methods, and wherein the session information is accessible to each web application accessed by the user through the sharable wrapper object;
providing the session information from the session to the sharable wrapper object, wherein the sharable wrapper object delegates all method invocations to the session object except for the method to obtain servlet context information, wherein if the method to obtain servlet content information is invoked, then the current context corresponding to the different one of the plurality of web applications that the session is being accessed in is provided to the client, otherwise if the delegated method to obtain session information is invoked, then providing the session information to the different one of the plurality of web applications includesreceiving an invocation of the method to obtain session information at the sharable wrapper object,returning session information from the session object associated with the session in response to said invocation, andproviding access to the different one of the plurality of web applications using the session information from the session object; and
wherein the user accesses the plurality of web applications using the session information from the session object.
2 Assignments
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for sharing sessions between web-based applications. These mechanisms and methods can enable embodiments to provide sharing sessions between web-based applications. A method embodiment includes receiving a request to access a second web application from a user currently accessing a first web application. Session information from a first session between the user and the first web application is provided to a second session established between the user and the second web application. Access to the second web application is provided responsive to the user'"'"'s request, using session information from the first session.
30 Citations
16 Claims
-
1. A method for sharing sessions between a plurality of web-based applications, the method comprising:
-
accessing one of the plurality of web applications on an application server by a user, wherein each of the plurality of web applications are disparate and unassociated web applications, and wherein upon accessing the one of the plurality of web applications a session and a session object are created, and wherein said session object stores session information associated with the session in a computer readable storage medium, and wherein the one of the plurality of web applications is designated as a parent web application for the session object; receiving, during the accessing of the parent web application, a request to access a different one of the plurality of web applications by the user; determining that the user has already established the session with the parent web application by a sharable session manager; generating by the sharable session manager a sharable wrapper object associated with the session object of the parent application responsive to said request if the session has been determined to have already been established, said sharable wrapper object containing a method for obtaining session information and a set of delegated methods, and wherein the session information is accessible to each web application accessed by the user through the sharable wrapper object; providing the session information from the session to the sharable wrapper object, wherein the sharable wrapper object delegates all method invocations to the session object except for the method to obtain servlet context information, wherein if the method to obtain servlet content information is invoked, then the current context corresponding to the different one of the plurality of web applications that the session is being accessed in is provided to the client, otherwise if the delegated method to obtain session information is invoked, then providing the session information to the different one of the plurality of web applications includes receiving an invocation of the method to obtain session information at the sharable wrapper object, returning session information from the session object associated with the session in response to said invocation, and providing access to the different one of the plurality of web applications using the session information from the session object; and wherein the user accesses the plurality of web applications using the session information from the session object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium carrying one or more sequences of instructions for sharing sessions between web-based applications, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
accessing one of the plurality of web applications on an application server by a user, wherein each of the plurality of web applications are disparate and unassociated web applications, and wherein upon accessing the one of the plurality of web applications a session and a session object are created, and wherein said session object stores session information associated with the session in a computer readable storage medium, and wherein the one of the plurality of web applications is designated as a parent web application for the session object; receiving, during the accessing of the parent web application, a request to access a different one of the plurality of web applications by the user; determining that the user has already established the session with the parent web application by a sharable session manager; generating by the sharable session manager a sharable wrapper object associated with the session object of the parent application responsive to said request if the session has been determined to have already been established, said sharable wrapper object containing a method for obtaining session information and a set of delegated methods, and wherein the session information is accessible to each web application accessed by the user through the sharable wrapper object; providing the session information from the session to the sharable wrapper object wherein the sharable wrapper object delegates all method invocations to the session object except for the method to obtain servlet context information, wherein if the method to obtain servlet content information is invoked, then the current context corresponding to the different one of the plurality of web applications that the session is being accessed in is provided to the client, otherwise if the delegated method to obtain session information is invoked, then providing the session information to the different one of the plurality of web applications includes receiving an invocation of the method to obtain session information at the sharable wrapper object, returning session information from the session object associated with the session in response to said invocation, providing access to the different one of the plurality of web applications using the session information from the session object; and wherein the user accesses the plurality of web applications using the session information from the session object. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. An apparatus for sharing sessions between web-based applications, the apparatus comprising:
-
a processor; and one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of; accessing one of the plurality of web applications on an application server by a user, wherein each of the plurality of web applications are disparate and unassociated web applications, and wherein upon accessing the one of the plurality of web applications a session and a session object are created, and wherein said session object stores session information associated with the session in a computer readable storage medium, and wherein the one of the plurality of web applications is designated as a parent web application for the session object; receiving, during the accessing of the parent web application, a request to access a different one of the plurality of web applications by the user; determining that the user has already established the session with the parent web application by a sharable session manager; generating by the sharable session manager a sharable wrapper object associated with the session object of the parent application responsive to said request if the session has been determined to have already been established, said sharable wrapper object containing a method for obtaining session information and a set of delegated methods, and wherein the session information is accessible to each web application accessed by the user through the sharable wrapper object; providing the session information from the session to the sharable wrapper object, wherein the sharable wrapper object delegates all method invocations to the session object except for the method to obtain servlet context information, wherein if the method to obtain servlet content information is invoked, then the current context corresponding to the different one of the plurality of web applications that the session is being accessed in is provided to the client, otherwise if the delegated method to obtain session information is invoked, then providing the session information to the different one of the plurality of web applications includes receiving an invocation of the method to obtain session information at the sharable wrapper object, returning session information from the session object associated with the session in response to said invocation, and providing access to the different one of the plurality of web applications using the session information from the session object; and wherein the user accesses the plurality of web applications using the session information from the session object. - View Dependent Claims (16)
-
Specification