简体   繁体   English

什么在asp.net而不是java中的httpsessionlistener

[英]what in asp.net instead of httpsessionlistener in java

I am new to asp.net. 我是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 ?? 我想映射最终用户状态,用户在线或离线(这里我认为离线由于直接PC关闭的情况也)。在java中我使用httpsessionlistener但我不明白我应该在asp.net中使用什么以及如何用户离线的地图? Please help me. 请帮我。 Which method should I use? 我应该使用哪种方法?

You should handle the Session_End event in Global.asax: - 您应该在Global.asax中处理Session_End事件: -

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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