You may find that your app server, the clients browser, or any proxy in-between may timeout irrespective of what you do in your webapp.

If the file takes so long to generate is there any reason why your not pre-generating it, caching it and serving it as a static file?

Al.

----- Original Message ----- From: "Simon Sew" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Thursday, May 22, 2008 7:32 AM
Subject: Request/session timeout when exporting very large files


Hi,
I'm having this request/session timeout problem.

My page have a link to generate and export pdf file. The problem is sometimes the generated file is very huge (100MB++) and it takes quite some time to export it (30 to 90 minutes). How do I prevent it from timeout when it is exporting at that time?

I tried session.setMaxInactiveInterval() but it's not working.

Thx.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to