you can check the session in everypage and if the session is dead you can redirect it to
another page. the global.asax file is class class file and it will handle the events of the
sessions and application objects only. we can set some functionalities work along with them.
In the session end event, you can set some application object like
application("active")="true"
then check the application("active") in every page where you can set the redirect method .
Got what you needed. Please mark as answer.