within my c# Global.asax.cs file i am trying to use the following when the website is closed down by the browser ie site exited, session closed
protected void Session_End(Object sender, EventArgs e)
string guidstr = HttpContext.Current.Session.SessionID;
the above code should be firing a void called Removesession which removes a record from a db, but it never gets fired
How do i remove the record which was inserted during the Session_Start eventI am doing this as i am required to track details about who is currently on line and what they are viewing which is all data held within the Session.
Thanks in advance from a programmer who is going to get his ass kicked shortly if i dont sort this one out!!