Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reconnect TIWimer
#3
(03-10-2019, 04:43 AM)Alexandre Machado Wrote: The timer should recover. ServerController.JavaScriptOptions.AjaxErrorMode controls how Ajax errors are handled on the browser side.

If you set it to emNone it will just ignore the erros and continue working, i.e. it will send request to the server, even if the prior request failed.

Can you please test it and let me know?

I set the setting ServerController.JavaScriptOptions.AjaxErrorMode to emNone from the beginning. Inside the timer OnAsyncTimer i use a "try except end" construct.
If to install brekpoint in the timer, after disconnecting the Internet cable, the timer stops calling the OnAsyncTimer, this is of course normal, but after returning the Internet cable back, the timer does not resume its work, you have to refresh the page in the browser.
Reply


Messages In This Thread
Reconnect TIWimer - by Rassamaha78 - 03-09-2019, 04:46 AM
RE: Reconnect TIWimer - by Alexandre Machado - 03-10-2019, 04:43 AM
RE: Reconnect TIWimer - by Rassamaha78 - 03-10-2019, 06:04 AM
RE: Reconnect TIWimer - by Alexandre Machado - 03-12-2019, 08:41 AM
RE: Reconnect TIWimer - by Alexandre Machado - 03-12-2019, 09:32 AM
RE: Reconnect TIWimer - by Rassamaha78 - 03-13-2019, 10:07 AM
RE: Reconnect TIWimer - by Alexandre Machado - 03-13-2019, 11:05 AM
RE: Reconnect TIWimer - by Rassamaha78 - 05-22-2019, 11:21 PM
RE: Reconnect TIWimer - by Alexandre Machado - 05-24-2019, 04:12 AM
RE: Reconnect TIWimer - by Rassamaha78 - 05-29-2019, 06:57 AM
RE: Reconnect TIWimer - by Alexandre Machado - 06-03-2019, 01:35 AM
RE: Reconnect TIWimer - by carlos_el_austriaco - 03-25-2022, 12:31 PM
RE: Reconnect TIWimer - by Rassamaha78 - 06-10-2019, 07:28 AM
RE: Reconnect TIWimer - by Alexandre Machado - 06-10-2019, 09:52 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)