Al Sutton wrote:
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 timeout occurs during the PDF generation, before the response
begins being streamed back, maybe. But as long as there is response data
being transmitted, no timeout should occur at the connection level. A
session timeout is an app-server function, anyhow; clients and proxies
know nothing about the session.
Simon, is the timeout occuring during the request for the PDF, while it
is being generated and before the action begins transmitting it? Or is
the PDF downloaded successfully with the next request failing because
the session timed out during the download?
L.
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]