简体   繁体   中英

what in asp.net instead of httpsessionlistener in java

I am new to asp.net. I want to map the end user status,user is online or offline(here i considered offline due to direct PC shutdown case also).In java I use httpsessionlistener but I don't understand what should I use in asp.net and how to map that user is offline ?? Please help me. Which method should I use?

You should handle the Session_End event in Global.asax: -

http://msdn.microsoft.com/en-us/library/ms178581.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM