If the web page is displayed in a normal browser and the refresh is done
through META tags, then the previous answers are correct.  There's not
much you can do.  Adding javascript to see if the site is available before
showing it will reduce the refresh time.

If you're hosting the page in a .NET application then you can subscribe to
the NetworkAvailabilityChanged event or use the GetIsNetworkAvailable
method.  But, both relate to whether the network card is connected, not
whether Internet or Intranet access is available.

-- Peter
Microsoft MVP Visual Development - C#
http://www.peterRitchie.com/Blog

On Wed, 5 Jul 2006 13:08:19 -0400, Eddie Lascu <[EMAIL PROTECTED]> wrote:

>Hello Experts,
>
>This may not be such an advances .NET topics, but I don't have any other
>place where to ask my silly question. I apologies in advance.
>One of the components in our system displays dynamic information through a
>web page on an unmanned display (much like the arrival/departure times and
>flight status displayed in airports).
>
>Web development is not my area of expertise, but it's hard to swallow the
>explanation I was presented by the developer that did the page.
>Bottom line, the page refreshes itself every 2 seconds, to update almost
>real time the information it must display. However, if the network goes
down
>for a very short period of time, the page cannot connect to the server and
>Error 401 is presented (actually would have been, except it was replaced
>with a blank page). The only way to solve this (suggested by the said
>developer) is to remotely connect to the desktop and refresh the link
>manually.
>
>Is there another way to do this in an automatic fashion? I think ideally
>would be to leave the display untouched as long as the network is down and
>refresh the content of the page as soon as the network comes back on-line.
>The page is displayed with Internet Explorer, so there is not much
control I
>have over the logic that controls the error handling.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to