asp.net session logout -


i have made asp.net application. application has session variables shows user logged in or logged out. if there way capture expiration of session without going single pages , once logged out user can redirected login( re-login) page?

can asp.net classes inherit base class can have abstract method check if session existing or not.

please suggest me architecture this.

thanks in advance.

you can use global.asax's session end event:

void  session_end(object sender, eventargs e) { // code.... } 

when session expire event called.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -