Method, system and program product for providing a status of a transaction with an application on a server
First Claim
1. A method for providing a status of a transaction with an application on a server, comprising:
- receiving a HTTP request for a transaction on the server from a browser on a client;
invoking the application on the server to process the HTTP request;
calling a client code generator to generate a first polling code having a first Uniform Resource Locator (URL) that includes a first set of parameters, wherein the first set of parameters comprises a delay time and a polling count;
sending the first polling code to the browser;
communicating the first URL in the first polling code from file browser to a server agent on the server after expiration of the delay time to request file status of file transaction;
generating a second polling code having a second Uniform Resource Locator (URL) that identifies a second set of parameters and the transaction requested if the transaction is incomplete and the polling count does not equal a polling count limit, wherein the second set of parameters comprises the delay time and a new polling count;
sending the second polling code to the browser; and
communicating the second URL in the second polling code from the browser to the server after expiration of the delay time to request the status of the transaction.
2 Assignments
0 Petitions
Accused Products
Abstract
Under the present invention, polling code is generated on a server and sent to a client in response to a transaction request received on the server from the client. The polling code includes a set of parameters such as a delay time and a polling count. After expiration of the delay time, the client will poll the server to request the status of the requested transaction. If the transaction is complete, the client will be redirected to a completion page. If the transaction is incomplete, and a polling count limit has not been reached, new polling code will be generated that includes the delay time and a new polling count. The new polling count is generated by incrementing the old polling count by one. The polling cycle is repeated until the transaction is complete, or the polling count limit is reached.
-
Citations
7 Claims
-
1. A method for providing a status of a transaction with an application on a server, comprising:
-
receiving a HTTP request for a transaction on the server from a browser on a client; invoking the application on the server to process the HTTP request; calling a client code generator to generate a first polling code having a first Uniform Resource Locator (URL) that includes a first set of parameters, wherein the first set of parameters comprises a delay time and a polling count; sending the first polling code to the browser; communicating the first URL in the first polling code from file browser to a server agent on the server after expiration of the delay time to request file status of file transaction; generating a second polling code having a second Uniform Resource Locator (URL) that identifies a second set of parameters and the transaction requested if the transaction is incomplete and the polling count does not equal a polling count limit, wherein the second set of parameters comprises the delay time and a new polling count; sending the second polling code to the browser; and communicating the second URL in the second polling code from the browser to the server after expiration of the delay time to request the status of the transaction. - View Dependent Claims (2, 3, 4)
-
-
5. A program product stored on a storage unit computer readable storage medium for providing a status of a transaction with an application on a server, which when executed, comprises:
-
agent program code configured to received a HTTP request for the transaction from a browser on a client, and to initiate the transaction based on the request; generator program code invoked by the agent program code configured to generate a first polling code having a first Uniform Resource Locator (URL) that includes a first set of parameters, wherein the first set of parameters includes a delay time and a polling count, and to send the first polling code to the client, wherein the client communicates the first URL in the first polling code to the agent program code after expiration of the delay time to request the status of the transaction; wherein the agent program code is further configured to process the first URL to determine the status of the transaction, and to invoke the generator program code to generate a second polling code having a second URL that identifies a second set of parameters and the transaction requested if the transaction is incomplete and the polling count does not equal a polling count limit, send the second polling code to the browser and communicate the second URL in the second polling code from the browser to the server after expiration of the delay time to request the status of the transaction, wherein the second set of parameters comprises the delay time mad a new polling count. - View Dependent Claims (6, 7)
-
Specification