473,321 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Automatic recover web page?

Hi,

In the first start page, I use JavaScript window.open to open a new IE
window that is used to display real-time stock price and refresh each
10 seconds.

The problem is when ASP server restart, the real-time page will
display "... cannot display the webpage" and cannot back to normal
page automatically.

Is there any solution to let it recovers automatcally after ASP server
down temporarily?

Thanks,

Ben

Feb 20 '07 #1
1 1755
On 20 Feb, 15:32, wubin...@yahoo.com wrote:
Hi,

In the first start page, I use JavaScript window.open to open a new IE
window that is used to display real-time stock price and refresh each
10 seconds.

The problem is when ASP server restart, the real-time page will
display "... cannot display the webpage" and cannot back to normal
page automatically.

Is there any solution to let it recovers automatcally after ASP server
down temporarily?

Thanks,

Ben
use XHR in the opener to perform a HEAD request on the server, if it
doesn't come back 200, then you can set a boolean variable in called
freeze,
the child window must check its opener for this bool and then unhide
the "paused" msg if it is required to temporarily stop refreshing.
All you will need is some standard AJAX or an ifram in the opener and
a timeout loop in the child window rather than a meta refresh which is
probably what you are using at the moment.

Feb 20 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Creat ASP Page Automatic | last post by:
Hi; I want to ask you something very important for me .. how can i Create daynamic pages or static pages Automatic .??????????!!! i have a problem with my website i want Create page asp...
5
by: Prem K Mehrotra | last post by:
I come from Oracle background. In Oracle, when one wants to do a point in time recovery, one can specify recover database until timestmap. Oracle's database maps to a db2 subsystem, i.e., in...
1
by: Mark | last post by:
Here is a description of automatic client reroute in DB2 V8.2 "The automatic client reroute feature allows client applications to recover from a loss of communication with the server so that they...
3
by: apple | last post by:
UDB v8 fp 6a on AIX 5.1.0.0 Below is a manual incremental recover from compressed backup datasets. With external compress backup datasets, can it be coded to do an automatic incremental recover?...
5
by: Grant | last post by:
Hi Is there a way to recover deleted records from a table. A mass deletion has occurred and Access has been closed since it happened Louis
1
by: KavvY | last post by:
Hi, Considering the code posted below can anyone explain to me why the following behaviour occurs? On page load the testFillDataGrid() function gets called and the variable sel is...
2
by: Maellic | last post by:
Hi, I'm currently updating a website written with ASP.NET. The original programmer is overseas, there is no documentation, and files are all over the place. Here is a code snippet from one of...
6
by: Ben | last post by:
Hi, In the first start page, I use JavaScript window.open to open a new ASP IE window that is used to display real-time stock price and refresh each 10 seconds. The problem is when ASP...
58
by: Jorge Peixoto de Morais Neto | last post by:
I was reading the code of FFmpeg and it seems that they use malloc just too much. The problems and dangers of malloc are widely known. Malloc also has some overhead (although I don't know what is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.