0

timer: how to handle server or network outage

asked 2013-05-14 07:03:36 +0800

dis gravatar image dis flag of Switzerland
140 4

Hello

I have a timer on my page:

<timer id="timer" repeats="true" delay="10000"/>

and the corresponding event handler in my composer:

public void onTimer$timer() {
    //..
}

everything works fine until I shutdown the server. Is there a way to catch a server or network outage on the client? I would like to have a client side event which can be handled with client side JavaScript.

Thank you Dieter

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-05-14 07:03:36 +0800

Seen: 8 times

Last updated: May 14 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More