Archive

Posts Tagged ‘handlers’

Asp.net handlers and IRequiresSessionState

March 22nd, 2010 No comments

This is a small one :)

By default when you create a new asp.net handler (.ashx) it implements the interface IHttpHandler. If you want to access information about user and other things stored in session you need also to implement the IRequiresSessionState.

IRequiresSessionState specifies that the target HTTP handler requires read and write access to session-state values

Categories: ASP.NET Tags: ,