I work in college and am developing an ASP.NET site with a lot of student reports, attendance statistics ... The basis of the data is the server database MSSQL, which is the server part of our student management system. On Thursday mornings, regular maintenance is performed for an unknown period of time (depending on what needs to be done).
Most employees are aware of this, but less regular users seem to always call me. What is the easiest way to turn off the site during maintenance, obviously, I can just try the database query to check if it works, but I'm not sure, for example, the best way to redirect all users to the message "The site is down for maintenance" , bearing in mind that they could start a session before the website crashed.
I hope something can be implemented globally, and not on the page.
PeteT source
share