[thelist] ASP: Running a routine automatically

Michael Galvin mpgalvin at eircom.net
Mon Jul 31 12:26:20 CDT 2000


I have a main database, and whenever the admin wants, they can shut it down
for maintenance.  I have a check on my login screen to see if the database
is "up" or not, but I realised today that I'll need to do it on every page,
just in case somebody is logged in when the admin brings it down.

So, I've written a small function, and am going to include in all my .asp
files, but is there a way of getting the system to automatically do this
function each time the asp page is called?  I know it's only a couple of
lines that I need to stick into each page, but is it the best way of doing
it?

Michael





More information about the thelist mailing list