This topic is locked

Database Down

2/5/2014 10:54:43 AM
Suggestions
Graphix author

I just wondered if it would be easy to have an option of setting the application to 'Down for maintenance'

so before I upload my app update I could set the application so that users could not login until I had finished whatever I was doing with a meaningful message

i.e "Database is down for maintenance you should be able to login in ten minutes"
is this do able
thank you

Kevan

lefty 4/26/2014

I just redirect user to login page all the time . Use your default or index page as a suggestion
<%
response.Redirect "http://www.yoursite.com/output8/login.asp";

response.End

%>
' Comment out the lines above with ' on each line when your site is down . And simply uncomment them when your up. !
<html>
<head>
meta http-equiv="Content-Language" content="en-us">

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<link rel="shortcut icon" href="http://www.yoursite.com/images/favicon.ico"; >
<title>Page Title</title>

</head>
<body>
<p align="center">&nbsp;</p>

<p align="center">

<img border="0" src="images/your.Image_down_for_maintenance.jpg" width="200" height="75"></p>

<p align="center">Site Down For Maintenance&nbsp;Please check back later
&nbsp;</p>
</body>
</html>