Automatic recover ASP web page?

B

Ben

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 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
 
A

Aidy

I assume you have a page that refreshes itself in your popup. Instead load
into the popup a page that is a FRAMESET with one FRAME that is your stock
page. The frameset page will then have a javascript timer that refreshes
the content of the frame every 10 seconds.
 
B

Ben

Thank you for the good solution!

I didn't use FRAMESET because it seems not working with ASP.NET
(VS2005).
I use JavaScript to repeat open the popup each 10 seconds. It works
fine.

Thank you very much.

Ben
 
L

Laurent Bugnion [MVP]

Hi,
Thank you for the good solution!

I didn't use FRAMESET because it seems not working with ASP.NET
(VS2005).
I use JavaScript to repeat open the popup each 10 seconds. It works
fine.

Thank you very much.

Ben

Framesets work very well with ASP.NET. They are not really recommended
anymore for various reasons, but in your case, they would be friendlier
than opening a new pop-up automatically every N seconds (pop-up which
would be blocked by most pop-up blockers anyway).

HTH,
Laurent
 
B

Ben

Yes, FrameSets works with ASP.NET but it always give me following
error message:

Validation (XHTML 1.0 Transitional): Element 'frame' is not supported.

Is there a way to get rid of this error message?

Thanks,


Hi,
Thank you for the good solution!
I didn't use FRAMESET because it seems not working with ASP.NET
(VS2005).
I use JavaScript to repeat open the popup each 10 seconds. It works
fine.
Thank you very much.

Framesets work very well with ASP.NET. They are not really recommended
anymore for various reasons, but in your case, they would be friendlier
than opening a new pop-up automatically every N seconds (pop-up which
would be blocked by most pop-up blockers anyway).

HTH,
Laurent







--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog:http://www.galasoft-LB.ch
PhotoAlbum:http://www.galasoft-LB.ch/pictures
Support children in Calcutta:http://www.calcutta-espoir.ch- Hide quoted text -

- Show quoted text -
 
P

Patrice

It just means this is not part of the official specification you claim your
page is using. It doesn't mean it won't work.

You should bet able to get rid of this message by switching to the XHTML 1.0
Frameset specification.


Ben said:
Yes, FrameSets works with ASP.NET but it always give me following
error message:

Validation (XHTML 1.0 Transitional): Element 'frame' is not supported.

Is there a way to get rid of this error message?

Thanks,


Hi,
Thank you for the good solution!
I didn't use FRAMESET because it seems not working with ASP.NET
(VS2005).
I use JavaScript to repeat open the popup each 10 seconds. It works
fine.
Thank you very much.

Framesets work very well with ASP.NET. They are not really recommended
anymore for various reasons, but in your case, they would be friendlier
than opening a new pop-up automatically every N seconds (pop-up which
would be blocked by most pop-up blockers anyway).

HTH,
Laurent






I assume you have apagethat refreshes itself in your popup. Instead
load
into the popup apagethat is a FRAMESET with one FRAME that is your
stockpage. The framesetpagewill then have a javascript timer that
refreshes
the content of the frame every 10 seconds.
Hi,
In the first startpage, 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 server restart, the real-timepagewill
display "... cannot display the webpage" and cannot back to normal
pageautomatically.
Is there any solution to let it recovers automatcally after ASP
server
down temporarily?
Thanks,
Ben- Hide quoted text -
- Show quoted text -

--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog:http://www.galasoft-LB.ch
PhotoAlbum:http://www.galasoft-LB.ch/pictures
Support children in Calcutta:http://www.calcutta-espoir.ch- Hide quoted
text -

- Show quoted text -
 
P

Patrice

Try :
http://msdn2.microsoft.com/en-us/f940516c(VS.80).aspx
for details


Patrice said:
It just means this is not part of the official specification you claim
your page is using. It doesn't mean it won't work.

You should bet able to get rid of this message by switching to the XHTML
1.0 Frameset specification.


Ben said:
Yes, FrameSets works with ASP.NET but it always give me following
error message:

Validation (XHTML 1.0 Transitional): Element 'frame' is not supported.

Is there a way to get rid of this error message?

Thanks,


Hi,

Ben wrote:
Thank you for the good solution!

I didn't use FRAMESET because it seems not working with ASP.NET
(VS2005).
I use JavaScript to repeat open the popup each 10 seconds. It works
fine.

Thank you very much.

Ben

Framesets work very well with ASP.NET. They are not really recommended
anymore for various reasons, but in your case, they would be friendlier
than opening a new pop-up automatically every N seconds (pop-up which
would be blocked by most pop-up blockers anyway).

HTH,
Laurent







I assume you have apagethat refreshes itself in your popup. Instead
load
into the popup apagethat is a FRAMESET with one FRAME that is your
stockpage. The framesetpagewill then have a javascript timer that
refreshes
the content of the frame every 10 seconds.



Hi,
In the first startpage, 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 server restart, the real-timepagewill
display "... cannot display the webpage" and cannot back to normal
pageautomatically.
Is there any solution to let it recovers automatcally after ASP
server
down temporarily?
Thanks,
Ben- Hide quoted text -
- Show quoted text -

--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog:http://www.galasoft-LB.ch
PhotoAlbum:http://www.galasoft-LB.ch/pictures
Support children in Calcutta:http://www.calcutta-espoir.ch- Hide quoted
text -

- Show quoted text -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top