Auto refresh in web interface even connection lost.

Need new test, action, option? Post request here.
Post Reply
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Auto refresh in web interface even connection lost.

Post by Dubolomov »

Hi.
Pages of HM Web-Service can automaticaly refresh using META options of HTML. But anytime connection from client's browser to server may be lost. So after refresh page will sets to 404-error and never been auto refresh. Can you integrate any solution for autoupdating only part of page?
For example like this:

index.htm:

Code: Select all

<html>
<META HTTP-EQUIV="Content-Type" Content="text/html; Charset=Windows-1251">
<frameset rows="0,*" border="0">
    <frame name="up" src="control.htm" marginwidth="10" marginheight="10" scrolling="no" frameborder="0" noresize>
    <frame name="down" src="mainpage.htm" marginwidth="10" marginheight="10" scrolling="auto" frameborder="0">
</frameset>
</html>
control.htm:

Code: Select all

<head>
</head>
<body>
<script>
  setTimeout("top.down.location = 'mainpage.htm'", 300000);
</script>
</body>
mainpage.htm - main page of web interface.
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Post by Nadir »

I have the same problem sometimes
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

So after refresh page will sets to 404-error and never been auto refresh. Can you integrate any solution for autoupdating only part of page
I think you may easily implement such behavior by yourself. Web Service provides "Use custom HTML pages to report errors" option (menu Options -> Advanced). Sample HTML files located in <HostMonitor>\WebService\misc\ directory, you may add "autorefresh" option into the files

Regards
Alex
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Post by Dubolomov »

1. It's true but it's not usage for "Good", "Bad", "Warning" and "Unknown" links which opens in new window.
2. And your solution is valid only if web service is accessible but some problems with connections between HM and WEB-service.
But if i have lost connection for a 5 minutes between two departments (client and server sides on different) i have 404 error. I can run this page localy with auto update but it's still doesn't work for point "1".
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ok, I have added new task

Regards
Alex
Nadir
Posts: 264
Joined: Mon Aug 29, 2005 2:01 am

Post by Nadir »

Thanks
Dubolomov
Posts: 214
Joined: Thu Jun 01, 2006 10:27 am
Location: Russia

Post by Dubolomov »

Thanks.
sneader
Posts: 90
Joined: Thu Dec 22, 2005 3:32 pm

Post by sneader »

Just voicing support for this... would be very nice to have the Web Interface automatically reconnect after getting disconnected.

Thanks!!

- Scott
Post Reply