Prevention of browser timeout
First Claim
1. A method for preventing a browser timeout resulting from at least one of a plurality of concurrent requests sent from a client to a server, comprising:
- responsive to receiving the at least one of a plurality of concurrent requests from the client, initializing an application thread on the server for submitting data to the client;
observing the application thread using a daemon observation thread;
if a loading time of the application thread exceeds a timeout, terminating the application thread;
configuring the timeout based on a number of potential requests to be received from the client;
responsive to terminating the application thread, sending an empty response to the client;
allowing a next set of the at least one of a plurality of concurrent requests from the client to wait for processing without timing out based upon the configuring;
responsive to receiving the empty response to the client, determining whether to make an additional request to the server,implementing a maximum number of the plurality of concurrent-requests to be concurrently active in a submitting state, andplacing a plurality of concurrent remaining requests in an inactive state, wherein a first application and observation thread is initialized for a first request in the submitting state, and additional application and observation threads are initialized for additional requests in the submitting state.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for preventing a browser timeout resulting from multiple requests sent from a client to a server is provided. In response to receiving a request from the client, an application thread is initialized on the server for submitting data to the client. The application thread is observed using a daemon observation thread. If a loading time of the application thread exceeds a timeout, the application thread is terminated. In response to terminating the application thread, an empty response is sent to the client. In response to receiving the empty response to the client, a determination is made whether to make an additional request to the server.
18 Citations
13 Claims
-
1. A method for preventing a browser timeout resulting from at least one of a plurality of concurrent requests sent from a client to a server, comprising:
-
responsive to receiving the at least one of a plurality of concurrent requests from the client, initializing an application thread on the server for submitting data to the client; observing the application thread using a daemon observation thread; if a loading time of the application thread exceeds a timeout, terminating the application thread; configuring the timeout based on a number of potential requests to be received from the client; responsive to terminating the application thread, sending an empty response to the client; allowing a next set of the at least one of a plurality of concurrent requests from the client to wait for processing without timing out based upon the configuring; responsive to receiving the empty response to the client, determining whether to make an additional request to the server, implementing a maximum number of the plurality of concurrent-requests to be concurrently active in a submitting state, and placing a plurality of concurrent remaining requests in an inactive state, wherein a first application and observation thread is initialized for a first request in the submitting state, and additional application and observation threads are initialized for additional requests in the submitting state. - View Dependent Claims (2, 3, 4)
-
-
5. A system for preventing a browser timeout resulting from at least one of a plurality of concurrent requests sent from a client to a server, comprising:
-
an application module operable on the server; and a request control module operable on the client, the request control module in communication with the application module, wherein; the application module is adapted for, responsive to receiving at least one of a plurality of concurrent requests from the client, initializing an application thread on the server for submitting data to the client, observing the application thread using a daemon observation thread, if a loading time of the application thread exceeds a timeout, terminating the application thread, configuring the timeout based on a number of potential requests to be received from the client, allowing a next set of the at least one of a plurality of concurrent requests from the client to wait for processing without timing out based upon the configuring, responsive to terminating the application thread, sending an empty response to the client, the request control module is adapted for, responsive to receiving the empty response to the client, determining whether to make an additional request to the server, wherein the request control module is further adapted for; implementing a maximum number of the plurality of concurrent requests to be concurrently active in a submitting state, and placing a plurality of concurrent remaining requests in an inactive state, wherein a first application and observation thread is initialized for a first request in the submitting state, and additional application and observation threads are initialized for additional requests in the submitting state. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A computer program product for preventing a browser timeout resulting from at least one of a plurality of concurrent requests sent from a client to a server, the computer program product comprising a non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising:
-
a first executable portion for, responsive to receiving at least one of a plurality of concurrent requests from the client, initializing an application thread on the server for submitting data to the client; a second executable portion for observing the application thread using a daemon observation thread; a third executable portion for, if a loading time of the application thread exceeds a timeout, terminating the application thread; a fourth executable portion for, responsive to terminating the application thread, sending an empty response to the client; a fifth executable portion for, responsive to receiving the empty response to the client, determining whether to make an additional request to the server; a sixth executable portion for allowing a next set of the at least one of a plurality of concurrent requests from the client to wait for processing without timing out based upon the configuring; a seventh executable portion for configuring the timeout based on a number of potential requests to be received from the client, an eighth executable portion for implementing a maximum number of the plurality of concurrent requests to be concurrently active in a submitting state, and a ninth executable portion for placing a plurality of currently remaining requests in an inactive state, wherein a first application and observation thread is initialized for a first request in the submitting state, and additional application and observation threads are initialized for additional requests in the submitting state. - View Dependent Claims (11, 12, 13)
-
Specification