If you just want to read your Session State from an ASHX or HttpHandler, you need to implement IReadOnlySessionState. If you want to write to your Session State, you must implement IRequiresSessionState. Note that you will also need use the System.Web.SessionState namespace. This post describes getting and setting session state in HttpHandlers (ASHX files).

