In my application when i click, a process starts and it keeps running for long, but after exactly 60 minutes the web page displays "The page cannot be displayed" , but the process is still running in the server. Only the page expires, the session is still alive and active. i clicked back and clicked on some other link and it opened, so session is not invalidated. my requirement is the page should not get expire after 60 minutes since my process will take 2-3hrs and then show user the result.
how to solve this issue, is there any internet settings to configure page expiring?? i use tomcat as server for my application.
my requirement is the page should not get expire after 60 minutes since my process will take 2-3hrs and then show user the result.
You appear to be trying to conduct a long running process within a single request/response cycle. This is a VERY BAD IDEA as the intent of the servlet design is that request/response cycles should be completed quickly.
The subject has come up frequently in these forum discussions. The solutions is to start the long running process in its own Thread and to use the request/response cycle to monitor the process. Do a search for long running process in servlets to find extensive discussions. Bill