I'm trying to look at a session variable with each request that comes in (and do a little more with it than below). In the \[code\] protected void Session_Start(object sender, EventArgs e) { HttpContext.Current.Session["test"] = "test"; } protected void Application_AcquireRequestState(object sender, EventArgs e) { string abc=(string)HttpContext.Current.Session["test"]; }\[/code\]What seems to happen here is that it works fine when the request to the aspx occurs, but whenever a request to any other file type (e.g. CSS, PNG, etc) occurs I get:Object reference not set to an instance of an object.I've tried all the various events in the global.asax file and each one throws the same error. Inspecting it shows the session is null when this happens. Any thoughts as to why this is occuring or how I can view session variables on each request regardless of file type?