NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ralonso2001 on April 21, 2015, 07:36:34 PM

Title: Report problem ...(maybe some timeout??)
Post by: ralonso2001 on April 21, 2015, 07:36:34 PM
Hi, I have a Webform that generates a report (sometimes is long, about 400 pages).
When the report is not very long its working fine but when the report has more than 70 pages, the web page is showing an error (like the page cannot be shown) but a few minutes later I can see the PDF generation window in my server (background).
Is there somewhere I cant make the page wait a little bit longer so the report can be finished and properly shown?

Thank you!!!
Title: Re: Report problem ...(maybe some timeout??)
Post by: kevin plummer on April 21, 2015, 09:57:34 PM
yes the browser got tired waiting for your report. this will be an even bigger problem for users on a slow internet connection. you might be able to do it with a progress bar which also lets the user know something is happening. I think the progress bar example does exactly that.
Title: Re: Report problem ...(maybe some timeout??)
Post by: Bruce on April 22, 2015, 05:46:30 AM

yes, the best approach is to use the progress bar / start button approach - then it can take as long as it needs to.

Otherwise during the actual report generation you are ok, but if the conversion to PDF takes more than 30 seconds then the browser will timeout.

which version of NetTalk are you using?

cheers
Bruce
Title: Re: Report problem ...(maybe some timeout??)
Post by: ralonso2001 on April 22, 2015, 07:16:18 AM
Thank you Kevin and Bruce, I solve the problem changing to a form with a progress bar and works very good!!!

Bruce, my NetTalk version is 8.28, should I upgrade to the latest?

As allways thank you for your help!!!!