开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜