I do not want anyone to be able to open any pages on the website before it could run the code to see if the person is logged in and if not send them to log page.
I already have my own log in process and not using the built in asp.net login. Do not want to use it either.
Currently I have a code inside all the pages and it executes before the page opens. I am just wondering if there was even a better way and I could execute a code prior to opening a page.