Hi,
How to get Session values in Global.asax?
My codes:
protected void Application_AuthenticateRequest(object sender, EventArgs e){
if (HttpContext.Current.Session["UserID"]!=null){ // Program error occurs here.
catch { } // Not logged in does not make.
Note: I need to do this: whenever the user touches a page to know the login ID.
Thanks.