System and method for preventing timeout of a client
First Claim
Patent Images
1. A method for preventing time out, comprising:
- initializing an application for execution in a server for responding to a first request from a client, wherein said client automatically times out if a response to said first request is not received in said client within a pre-determined time-out period;
transmitting a server application state with a refresh attribute from said server to said client, said server application state specifying a state of progress of said application in generating said response to said first request, said refresh attribute specifying a time interval and causing said client to post a state refresh request for refreshing said server application state upon expiration of said time interval, said time interval being less than said pre-determined time-out period;
receiving said state refresh request from said client in said server, said state refresh request being transmitted by said client before expiration of said pre-determined time-out period responsive to said refresh attribute specifying said time interval, wherein posting said state refresh request prevents time-out in said client; and
responsive to said state refresh request from said client, returning to said client a refreshed server application state, said refreshed server application state selectively including said refresh attribute while said application is in the process of generating said response to said first request and not including said refresh attribute upon said application completing generation of said response to said first request or going into an error state.
1 Assignment
0 Petitions
Accused Products
Abstract
A system for preventing timeout of a client interface accessing a main Java Servlet executing in a first thread which monitors an application executing in a second thread. A task status object is accessed by the application to post its completion state and by the client interface responsive to a state refresh request to post a state refresh response including the completion state to the client. The state refresh response selectively includes a refresh attribute instructing the client to periodically post the state refresh request. Upon the application going to completion or error state, subsequent state refresh responses do not include the refresh attribute.
-
Citations
16 Claims
-
1. A method for preventing time out, comprising:
-
initializing an application for execution in a server for responding to a first request from a client, wherein said client automatically times out if a response to said first request is not received in said client within a pre-determined time-out period; transmitting a server application state with a refresh attribute from said server to said client, said server application state specifying a state of progress of said application in generating said response to said first request, said refresh attribute specifying a time interval and causing said client to post a state refresh request for refreshing said server application state upon expiration of said time interval, said time interval being less than said pre-determined time-out period; receiving said state refresh request from said client in said server, said state refresh request being transmitted by said client before expiration of said pre-determined time-out period responsive to said refresh attribute specifying said time interval, wherein posting said state refresh request prevents time-out in said client; and responsive to said state refresh request from said client, returning to said client a refreshed server application state, said refreshed server application state selectively including said refresh attribute while said application is in the process of generating said response to said first request and not including said refresh attribute upon said application completing generation of said response to said first request or going into an error state. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A program storage device readable by a machine, tangibly embodying a program of instructions executable by a machine to perform method steps for preventing time out, comprising:
-
initializing an application for execution in a server for responding to a first request from a client, wherein said client automatically times out if a response to said first request is not received in said client within a pre-determined time-out period; transmitting a server application state with a refresh attribute from said server to said client, said server application state specifying a state of progress of said application in generating said response to said first request, said refresh attribute specifying a time interval and causing said client to post a state refresh request for refreshing said server application state upon expiration of said time interval, said time interval being less than said pre-determined time-out period; receiving said state refresh request from said client in said server, said state refresh request being transmitted by said client before expiration of said pre-determined time-out period responsive to said refresh attribute specifying said time interval, wherein posting said state refresh request prevents time-out in said client; and responsive to said state refresh request from said client, returning to said client a refreshed server application state, said refreshed server application state selectively including said refresh attribute while said application is in the process of generating said response to said first request and not including said refresh attribute upon said application completing generation of said response to said first request or going into an error state. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A method for operating a web server, comprising the computer-executed steps of:
-
initializing a web server application for execution in said web server, said web server application for responding to a first request from a client, wherein said client automatically times out if a response to said first request is not received in said client within a pre-determined time-out period; transmitting a contending instance of a server application state from said web server to said client, said server application state comprising a hypertext markup language (HTML) metatag identifying a state of progress of said web server application in generating said response to said first request and containing a refresh attribute, said refresh attribute specifying a time interval and causing said client to post a state refresh request for refreshing said server application state upon expiration of said time interval, said time interval being less than said pre-determined time-out period; receiving said state refresh request in said web server, said state refresh request being received from said client responsive to said refresh attribute specifying said time interval, wherein posting said state refresh request prevents time-out in said client; repeating said transmitting step and said receiving step at least once while said web server application is in the process of generating said response to said first request, each instance of said transmitting step being repeated responsive to receiving a respective state refresh request in said web server from said client responsive to a respective said refresh attribute specifying said time interval, wherein posting each respective state refresh request prevents time-out in said client; and responsive to receiving an instance of said state refresh request in said web server after said web server application is no longer in the process of generating said response to said first request, transmitting a corresponding instance of said server application state from said web server to said client without said refresh attribute. - View Dependent Claims (16)
-
Specification