Patent ID: 7440997

Claim:
A method for a host computing system to maintain an application state such that certain web pages may be returned to once a task is complete even if the original application state for that web page has been discarded before the task is complete due to recycling rules, the method comprising: maintaining a plurality of queues, each queue including application state information for a specific browsing computing system; instantiating a queue in a first memory portion, the first memory portion being subject to recycling rules that require an application state be stored for only a limited number of web pages that a browsing computing system had most recently navigated to; maintaining a second memory portion, the second memory portion not subject to the recycling rules; receiving a first request from the browser to perform a task that involves sequential navigation to a number of web pages; creating a first web page using a first application state, the first application state being specific to both the first web page and to the browsing computing system; after receiving the first request and after creating the first web page using a first application state, placing the first application state in a queue in the first memory portion; receiving a second request from the browser to navigate from the first web page to a second web page; placing a copy of the first application state in the second memory portion that is not subject to the recycling rules such that at the time the copy is made, there are two copies of the first application state, one copy of the first application state being in the first memory portion and one copy of the first application state being in the second memory portion; creating the second web page using second application state; determining that the browser should return to the first web page when the task is complete; in response to determining that the browser should return to the first web page, including the copy of the first application state in the second application state; placing the second application state in the first memory portion that is subject to the recycling rules; determining that the task is complete; and when the task is complete, using the copy of the first application state, stored in the second memory portion, to create the first web page.