I understand I can use app_offline.htm to entirely disable an asp.net web app but is there anyway of disabling a site only for new visitors?
I'd like for current visitors to finish off any transactions before the site is disabled for them.
My first thought was to set some value that is checked on session start and if this is enabled or disabled then redirect the user to a page explaining the site is down for maintenance. This value can also be checked on each page load for people who currently have active sessions and then they can be notified that they should finish up what they are doing as the site will be disabled soon. I'm not sure if this is the best approach though and I'm worried about performance having to check this on each page load.