Geeks With Blogs
Łukasz Kuryło's blog

By default, when you want access to Session object from http handler you have beautiful exceptions thrown.

This is probably from performance reason. But there is very simple solution to fix it.

Everything to do is to implement a IRequiresSessionState marker interface.

Posted on Sunday, November 14, 2010 12:34 AM ASP.NET MVC , ASP.NET | Back to top


Comments on this post: Accessing Session object from custom handler

Comments are closed.
Comments have been closed on this topic.
Copyright © Łukasz Kuryło | Powered by: GeeksWithBlogs.net