G
Guest
I saved Socket Objects in Session to enhance the performance in my ASP.NET app. I have two questions.
1) Does ASP.NET Logon expire the same moment as Session Expire? I use Form Authentication in my ASP.NET Application.
2) I want to Close/Shutdown all socket objects at Session_End() in Global.asax, because I think the ASP.NET may not close it properly. The question is: How could I know if a session object type is Socket? I may use more than one socket, and I could not know how many sockets I used in Session_End() subroutine.
Thanks.
1) Does ASP.NET Logon expire the same moment as Session Expire? I use Form Authentication in my ASP.NET Application.
2) I want to Close/Shutdown all socket objects at Session_End() in Global.asax, because I think the ASP.NET may not close it properly. The question is: How could I know if a session object type is Socket? I may use more than one socket, and I could not know how many sockets I used in Session_End() subroutine.
Thanks.