Bill Crawley
May 23rd, 2006, 10:29 AM
Hi All,
I'm using VS2003.
I have a single page ASP.NET application that is live.
In my live environment I am just going to rename the link so that the page cannot be used temporarily whilst some upgrades are performed in the background.
However in the app I just want to test that the original page loaded and if not then place a friendly page up saying that the site is currently down.
How do I do that?
My single aspx page is set as the start page. I set some variables in the Session_start of the global.asax page and I assume that this is where I need to place my test, but I dont know what to test for.
I'm using VS2003.
I have a single page ASP.NET application that is live.
In my live environment I am just going to rename the link so that the page cannot be used temporarily whilst some upgrades are performed in the background.
However in the app I just want to test that the original page loaded and if not then place a friendly page up saying that the site is currently down.
How do I do that?
My single aspx page is set as the start page. I set some variables in the Session_start of the global.asax page and I assume that this is where I need to place my test, but I dont know what to test for.