NULL reference exception while reading user sessions (Reflection)

前端 未结 6 1128
傲寒
傲寒 2021-01-12 17:54

I have implemented the code for reading the active sessions using the reference Reading All Users Session and Get a list of all active sessions in ASP.NET.

P         


        
6条回答
  •  逝去的感伤
    2021-01-12 18:37

    Exactly for your business case there is Application state variable in asp.net. It is similar to session state, but visible for all users request.

提交回复
热议问题