Patent ID: 7451194
Filing Date: 2008-11-11
Classification: G06F

Abstract:
1. A method for timely update of a Web page, the method comprising: requesting a portal page that includes a control portlet by a client browser; registering a browser session identifier with a refresh controller by the control portlet; constructing a script function to be added to the portal page by the control portlet; adding the script function to the portal page by the control portlet before the portal page is sent to the client browser; sending the portal page to the client browser by a portal server; receiving and rendering the portal page by the client browser; starting a countdown timer by the script function; determining whether the countdown timer is equal to zero; responsive to determining that the countdown timer is equal to zero, passing the browser session identifier to a refresh control helper in the portal server by the script function; calling the refresh controller and passing the browser session identifier to the refresh controller by the refresh control helper; checking a data store for update notifications associated with the browser session identifier by the refresh controller; determining whether an update exists for the browser session identifier; responsive to determining that an update does exist for the browser session identifier, informing the refresh control helper that new data is available and removing the update notifications associated with the browser session identifier from the data store by the refresh controller; informing the script function in the portal page by the refresh control helper that the new data is available; and requesting a reload of the portal page by the script function only in response to the new data being available to eliminate unnecessary portal page reloads when no data updates exist.