CA2508317C

Session-return enabling stateful web applications

Abstract

Mechanisms for allowing allow multi-session capability and session-return enabling stateful web applications include providing a start URL of a requested portal page with an "External Session ID" (ESID). The ESID is an argument that is different between the two instances of the application (on the same page), and leads to different / independent sessions in the server. When a user returns to the same page, the ESIDs are passed again with the individual application requests, and the server can then logically reconnect to the proper session and allow the user to continue. The ESID can be used to return to an application after the user has previously left to go to another application and then desires to come back, or even when the user closed the browser and restarts the application later.

CA2508317C, drawing sheet 1
Sheet 1 of 7

Term

Term ended

Expired 2 December 2023, 2.8 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

6 claims: 5 independent, 1 dependent

  1. 1
    CA 02508317 2012-02-10 Claims 1. A method for session-return to enable a stateful web application, comprising:receiving from a portal used by a client a termination uniform resource locator (URL) relating to a terminated web application session, the termination URL including a given session ID that the client wants to use to refer to a session at start time and thereafter for termination and restart, the given session ID being an external session identifier (ESID) identifying the terminated web application session;wherein the ESID is generated by a session manager of the portal used by the client;minimizing a state related to the terminated web application session;10 storing a minimized state related to the terminated web application session associated with the ESID in a table on the server, wherein the minimized state is a session-return state related to the terminated web application session;receiving a request from the client for a new web application session;determining whether the request includes an identifier that corresponds to the ESID of the terminated web application session, wherein determining whether the request includes an identifier that corresponds to the ESID of the terminated web application session further includes mapping the identifier to one or more ESIDs stored in the table;and if the identifier corresponds to the ESID of the terminated web application session, serving the new web application session according to the minimized state related to the terminated 20 web application session, and if the identifier does not correspond to the ESID of the terminated web application session, serving the new web application session in a startup mode.
  2. 2
    A method in accordance with claim 1, wherein storing the minimized state related to the terminated web application further includes storing the ESID identifying the terminated web application session. CA 02508317 2012-02-10
  3. 4
    A method in accordance with any one of claims 1 to 3, wherein the request includes a start URL.
  4. 5
    A system for performing page-back of a web application, comprising:a portal comprising a session manager configured to generate a termination uniform resource locator (URL) relating to a terminated web application session, the termination URL including a given session ID that the client wants to use to refer to a session at start time and thereafter for 10 termination and restart, the given session ID being an external session identifier (ESID) identifying the terminated web application session, and further configured to send the ESID to a server;and a server platform hosting the server and having a memory configured to store a minimized state related to the terminated web application session associated with the ESID in a table, wherein the minimized state is a session-return state related to the terminated web application session;and a mapping module configured to map a request for a new web application session to one or more ESIDs stored in the table in the memory, the server platform being further configured to serve the new web application session in the minimized state associated with one ESID if the request corresponds to the ESID of the terminated web application session, and if the request does not correspond to the ESID of the terminated web 20 application session, the server platform is configured to serve the new web application session in a startup mode.
  5. 6
    A system in accordance with claim 5, wherein the server is a web application server.