PDA

View Full Version : Lock the site


urko
10-02-2005, 04:08 PM
Can some1 tell me, where or how can I lock the site for the maintenance and if some1 knows very good free site for checking site stats( per page, week, day, country etc..)???

Thanks,

Bullschmidt
10-04-2005, 05:33 AM
Free tracker from eXTReMe digital
http://www.extreme-dm.com

And as far as locking the site for maintenance if you have a file (perhaps called config.asp or whatever) that is included on each page you could have that page or another check the value of a particular variable set on that page.

Thus on config.asp you might have something like this:
mbolSiteIsUp = True

And in another include page perhaps called utility.asp you might have:
' If site down for maint.
If mbolSiteIsUp = False Then
Response.Redirect "downformaint.asp"
End If