Can someone please put me out of my misery....<BR><BR>I am trying to get at a session var that is set in my login.aspx from within global.asax.<BR><BR>I have tested the following:<BR>Sub Application_OnAcquireRequestState(sender as Object, Details as EventArgs) <BR>Context.Session.Item("USER_ID") = "Temp"<BR>Context.Response.Write( Context.Session.Item("USER_ID") )<BR>End Sub<BR><BR>Which the works when i first go to my login page, but once i login and it tries to do this again i get:<BR><BR>"Object reference not set to an instance of an object."<BR><BR>I saw an article which showed how to check for the session ending using Application_OnAcquireRequestState in global.asax instead of having to code for it in every page in the website.<BR><BR>What am i doing wrong....<BR><BR>Cheers<BR>