TECHNIQUES FOR DETECTING INACTIVE BROWSER WINDOWS
First Claim
1. A method comprising:
- maintaining, by a server computer system, a first list of windows open in a web browser running on a client computer system;
receiving, by the server computer system, a notification from the web browser that an application page displayed in a first window in the first list has been unloaded;
associating, by the server computer system, the first window with an expiration time; and
adding, by the server computer system, the first window to a second list of windows, the second list including a subset of windows in the first list that are potentially inactive.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide techniques for tracking the lifecycles of client-side browser windows in the context of a web application. In one set of embodiments, a server component of a web application can receive a notification that an application page in a first window has been unloaded/destroyed. In response, the server component can associate the first window with an expiration time and add the first window to an “expiration” list of windows that are potentially inactive. If a request is received by the server component from the first window while the first window is in the expiration list, the server component can identify the first window as active and remove it from the list. If a request is received by the server component from a second window after the expiration time associated with the first window, the server component can identify the first window as inactive and free all resources for the first window.
32 Citations
19 Claims
-
1. A method comprising:
-
maintaining, by a server computer system, a first list of windows open in a web browser running on a client computer system; receiving, by the server computer system, a notification from the web browser that an application page displayed in a first window in the first list has been unloaded; associating, by the server computer system, the first window with an expiration time; and adding, by the server computer system, the first window to a second list of windows, the second list including a subset of windows in the first list that are potentially inactive. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer readable storage medium having stored thereon instructions executable by a processor, the instructions including:
-
instructions that cause the processor to maintain a first list of windows open in a web browser running on a client computer system; instructions that cause the processor to receive a notification from the web browser that an application page displayed in a first window in the first list has been unloaded; instructions that cause the processor to associate the first window with an expiration time; and instructions that cause the processor to add the first window to a second list of windows, the second list including a subset of windows in the first list that are potentially inactive. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A system comprising:
a processor configured to; maintain a first list of windows open in a web browser running on a client computer system; receive a notification from the web browser that an application page displayed in a first window in the first list has been unloaded; associate the first window with an expiration time; and add the first window to a second list of windows, the second list including a subset of windows in the first list that are potentially inactive. - View Dependent Claims (16, 17, 18, 19)
Specification