Reputation: 305
I have just read about Global.asax (as you can tell, I am new to asp.net) I'm wondering would it be a good idea to use the Session_End method that comes with the Global class to redirect a user when the session has been ended? Or just do IF statements on page loads to check if any values are null?
Also, how is the Global class called? Is it what is ran in the background of every application or do you have to specifically call a method from the class in order to utilize it?
Upvotes: 0
Views: 214
Reputation: 594
To answer your first question regarding redirect from Session_End: Redirecting to another page on session end event
To answer your second question regarding how the global.asax class is used: What is the purpose of global.asax
Good luck!
Upvotes: 1