Patent ID: 7917634

Claim:
A computer-implemented method for managing session state information, the method comprising: receiving, at one or more computer systems configured to generate pages on behalf of an application hosted by an application server, default state information in response to a user session with the application; generating, with one or more processors associated with the one or more computer systems, a first page configured to be displayed to a user through a user interface based on the default state information, the default state information being stored in the source code of the first page and hidden in the first page from the user when displayed through the user interface; receiving, at the one or more computer systems, a first request from the user in response to one or more interactions of the user with the first page, the first request including updated state information corresponding to the user session; determining, with the one or more processors associated with the one or more computer systems, a set of mappings based on the updated state information, each mapping in the set of mapping being between an element of the user interface having state information represented in the updated state information and an object associated with application that stores data for the element and defines one or more procedures the application can take on the data; updating, with the one or more processors associated with the one or more computer systems, a control item associated with the application based on each mapping in the set of mapping; determining, with the one or more processors associated with the one or more computer systems, whether a second page is to be displayed to the user for the user session; if the second page is determined not to be displayed to the user for the user session, and state information for the user session is to be stored for the user session, storing the updated state information to a host database using the one or more computer systems; if the second page is to be displayed to the user, generating the second page configured to be displayed to the user through the user interface with the one or more processors associated with the one or more computer systems, the second page having the updated state information encoded therein and hidden from the user when displayed to the user through the user interface, wherein state information for the user session is maintained through the second page and any subsequent page issued for the user session, and wherein state information is not maintained by the one or more computer systems unless state information is determined to be stored to the host database at a determined point in the user session.