tags:

views:

22

answers:

1

Hi
in my web app users login to website normally and they have tagged in user table in database as online user in Session_End i want to log them out In Session_End i have no access to HttpContext.Current.Session or Session only they are both null how can i access to session variable at (Session_End) event.

A: 

Session_End only works if you're using InProc session management. Maybe you're using StateServer or SqlServer approach?

Elph
No I didn't use them, im working InProc
Ehsan