NetTalk Central

Author Topic: Report timeouts  (Read 5300 times)

LyGilCo

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • Email
Report timeouts
« 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

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Report timeouts
« Reply #1 on: August 04, 2008, 01:28:34 PM »
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
Mike Grigsby
Credify Systems
Central Oregon, USA

Johan de Klerk

  • Full Member
  • ***
  • Posts: 217
  • Johan de Klerk
    • View Profile
    • Designer Software
Re: Report timeouts
« Reply #2 on: August 04, 2008, 10:33:37 PM »
Hi,

I have the same problem.

Some of my reports are 90+ pages.

a Solution to this would be great.

Regards

Johan de Klerk
Clarion 10, NT 11.57

LyGilCo

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • Email
Re: Report timeouts
« Reply #3 on: August 04, 2008, 10:46:58 PM »
My feeling is that is might involve hacking the report to pdf templates / class

Not a good option

Cheers

Murray

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Report timeouts
« Reply #4 on: August 05, 2008, 11:15:40 AM »
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.
Mike Grigsby
Credify Systems
Central Oregon, USA

LyGilCo

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • Email
Re: Report timeouts
« Reply #5 on: August 05, 2008, 05:42:13 PM »
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

ajosuna

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • Email
Re: Report timeouts
« Reply #6 on: May 11, 2009, 09:49:14 PM »
Hi Bruce:

Is there any solution for this time out issue?

Regards

Anthony

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Report timeouts
« Reply #7 on: May 13, 2009, 02:21:07 AM »
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