/
Programmatically reset Reponse timeout of a Sequence/Transaction
Convertigo Public Knowledge base
Programmatically reset Reponse timeout of a Sequence/Transaction
The response timeout property of a Sequence or a Transaction defines the response maximum waiting time (in seconds).
If you don’t exactly know how long the sequence should last or if it is likely to change a lot or if you want to have more control on it, you can use the following code in your Sequence/Transaction:
var now = new Date().getTime();
context.lastAccessTime = now;
This will reset the timeout value to the actual time.
If you set it to 0 (zero) the request will timeout.
Be careful with the different values because it can end up with an infinite request execution.
Related content
HTTP Session Timeout between multiple projects call
HTTP Session Timeout between multiple projects call
More like this
Caching Convertigo Back End response
Caching Convertigo Back End response
More like this
Execute a sub Sequence asynchronously
Execute a sub Sequence asynchronously
More like this
Call a sequence automatically when the application is starting and not using an onclick button
Call a sequence automatically when the application is starting and not using an onclick button
More like this
Manage COMMIT/ROLLBACK in SQL Transaction
Manage COMMIT/ROLLBACK in SQL Transaction
More like this
Add custom Java class to a back end project
Add custom Java class to a back end project
More like this
(c) Convertigo 2023 https://www.convertigo.com