From ASP.NET can I access all Sessions?
I want to enumerate all the Sessions. Are they available, or do I have to keep references to them manuall开发者_StackOverflow社区y from Session_Start in Global.asax?
You can create your own session provider which gives you access to all the sessions via some special command. The built-in session handlers don't, however.
I wonder why you want to do this, though? It seems like an unusual requirement, and a possible security issue as well.
精彩评论