locked
Can't connect to global.asax RRS feed

  • Question

  • User1287136399 posted

    Hey

    I have some information I have stored in a sesion in global.asax, but I need to acces it from a HttpHandler, but I can't get it, I have tryed it like this.

    public void ProcessRequest(HttpContext context)
            {
                List<TextAndNr> databases = (List<TextAndNr>)context.Session["DataBase"];
    }
    
    AND LIKE
    
    public void ProcessRequest(HttpContext context)
            {
                List<TextAndNr> databases = (List<TextAndNr>)context.GetSection("DataBase");
    }

    is ther an other way to get it, ore is there an other way to store it, it is diferent information if they open a window ore browser

    Monday, June 2, 2014 12:26 PM

Answers