how to access HttpContext.Current.Application
        Posted  
        
            by Woland
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Woland
        
        
        
        Published on 2010-06-07T10:55:22Z
        Indexed on 
            2010/06/07
            13:02 UTC
        
        
        Read the original article
        Hit count: 329
        
Hello i have problem accessing HttpContext.Current.Application From global.asax its seems to be null every time i try to access it. How can i to this?
HttpContext.Current.Application.Lock();
HttpContext.Current.Application["Actions"] = "hello";
HttpContext.Current.Application.UnLock();
Thanks
© Stack Overflow or respective owner