System and method for preventing timeout of a client
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.
Claims
exact text as granted — not AI-modified1 . A server system for preventing time out, comprising:
a first thread executing in said server system, said first thread comprising a client interface for interfacing to a client of said server system; a second thread executing in said server system, said second thread comprising a server application for servicing a first request by said client, wherein said client automatically times out if a response to said request is not received in said client within a pre-determined time-out period; a task status object accessed by said server application to post completion state of said server application and by said client interface responsive to receiving a state refresh request from said client to post a state refresh response; and wherein, responsive to receiving a state refresh request from said client, said client interface transmits a state refresh response to said client, said state refresh response comprising a completion state of said server application in generating a response to said first request and selectively including a refresh attribute instructing said client to post said state refresh request again before expiration of said pre-determined time-out period, wherein posting said state refresh request by said client responsive to said refresh attribute prevents time-out in said client, said refresh attribute being selectively included when said server application has not completed generating a response to said first request.
2 . The system of claim 1 , said refresh attribute specifying a time interval for posting state refresh requests.
3 . The system of claim 1 , wherein said state refresh response comprises a hypertext markup language (HTML) metatag identifying said completion state of said server application, and selectively including said refresh attribute.
4 . The system of claim 1 , wherein state refresh response includes a hypertext markup language representation of a progress bar for displaying said completion state.
5 . The system of claim 4 , further comprising:
a progress bar task for storing a progress bar representation of said completion state; and a publish task responsive to said state refresh request for accessing said progress bar task for said state of completion and deriving a hypertext markup language representation of a progress bar for displaying said application state.Join the waitlist — get patent alerts
Track US2008052351A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.