locked
context.Session is null in the Validatecacheoutput event handler. why? RRS feed

Answers

  • User477186420 posted

    Hello

    you required to inherit from IRequiresSessionState interface. It helps you to access session while access handler

    public class <yourhandlername> : IHttpHandler, IRequiresSessionState
    {
        
    }

    Thanks

    Gaurav Dhol

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, September 15, 2012 4:34 AM