Forums Register Login

HTTP Request Timeout / Keep - Alive

+Pie Number of slices to send: Send
We have a situation where environment has Webseal between the end user PC i.e. the client browser and web application. When user sends in a request, request goes thru Webseal to web app server. Webseal gives application 2 minute to send a response back to satisfy request. But in our application, for complex actions, it will frequently exceed 2 min to send response.

The requirement is to send a communication ping between end user and web application thru this connection to continually reset the clock that Webseal keeps ticking on the connection.

Has anybody ever faced such a situation or come across this before. Any suggestion will be helpful. This is highly critical for us.
+Pie Number of slices to send: Send
I have a sample project on my site that handles this by kicking of the long running process in a new thread, and returning a response immediately.
The response page has a meta refresh tag in it that causes it to refresh every n seconds; checking the status of the long running process with each iteration. When the process is done, it forwards to the results page.

See: http://simple.souther.us/not-so-simple.html
Look for LongRunningProcess.

Also, for processes taking more than 15 or 30 seconds, you might want to consider implementing an email notification so the user doesn't have to sit and wait for the process to complete.
His brain is the size of a cherry pit! About the size of this ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 3138 times.
Similar Threads
Q. HttpSession object
Long running request returns no HTTP response
Design pattern needed
Can WebService response be HTTP?
LTPA==>WPS
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:17:40.