Asp.Net Session is null in ashx file
        Posted  
        
            by Amitabh
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Amitabh
        
        
        
        Published on 2010-01-28T17:28:55Z
        Indexed on 
            2010/06/09
            16:12 UTC
        
        
        Read the original article
        Hit count: 273
        
If I access session variable in ashx handler through it is always null. How can I access the current user here.
public void ProcessRequest (HttpContext context) {
        context.Session[UIConstants.SessionItems.ID] = Id;
    }
© Stack Overflow or respective owner