Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to keep browser alive for hours?

Status
Not open for further replies.

chunbo

Programmer
Jan 9, 2003
16
US
I use servlet to generate a big report which takes hours to finish. How to config tomcat so that the client side browser (IE) will keep alive even after 5 hours?

I tried to set the session timeout to 10 hours in web.xml, but the browser still die after about 2 hours.

Should I configure IIS as well?

Thanks
 
Can you not have the browser make the request, then the servlet kick off the report, and then have the browser pick up the report later (it could even poll your server for a status check intermittently) - this seems a more logical approach than keeping an HTTP connection alive for hours on end ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top