Can I add an event handler to a session value in asp.net with c#?
I’m planning to update the database when user logs in and logs out and I control login and logout with session values, but the session may end without a user click, like timeout, so I’d like to add an event handler to “isloggedin” session value.
Can I add an event handler to a session value in asp.net with c#?
Share
you need to handle this in global.asax.