NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: LyGilCo on July 31, 2008, 07:02:04 PM
-
Hi All,
I have a webapp that generates reports, these work fine however if a report is large the client browser times out.
The solution as I see it is to send a 'I am still here' packet (of anything) to the client browser at regular intervals to keep it interested.( I do this with charts using p_web.ParseHTML in validaterecord.)
However in reports - as the PDF is being generated (which can take some time) there seems to be no hook (timer) in which to send 'I am still here' packets.
Any ideas?
TIA
Murray
-
I'm responding to this topic because it is a priority of mine as well, and I haven't seen any solutions yet. I also have a report that times out if there is much data. I've not a clue how to keep the page alive. Help? MikeG
-
Hi,
I have the same problem.
Some of my reports are 90+ pages.
a Solution to this would be great.
Regards
Johan de Klerk
-
My feeling is that is might involve hacking the report to pdf templates / class
Not a good option
Cheers
Murray
-
And not just reports Murray, I started building some stuff with Office Inside to generate XLS files and it times out as well. I suspect there could be many other things we might want to do that will have problems as well.
I can probably figure out how to keep the page alive. I'm not so sure I can figure out when the process has ended. I'm thinking I could do a loop of empty packets or something until I detected the event had finished. Haven't had time to work out the details yet.
-
Hi Mike,
Yes I suppose one way would be to have a 'watchdog' thread
which will send packets to the page.
You could start the thread when the report or whatever starts, the send a 'die' event to the thread when the report ends.
Cheers
Murray
-
Hi Bruce:
Is there any solution for this time out issue?
Regards
Anthony
-
Gee whiz, but you're a bunch on whiners aren't you.. :)
I've added some code which should sort this issue out in 4.32.
For ABC and Legacy reports it's built-in. For other reports, and other situations,
I'll post into the Share Knowledge forum.
Cheers
Bruce