The HttpSessionStateContainer.Abandon method of the System.Web.SessionState.HttpSessionStateContainer marks the HttpSessionStateContainer.IsAbandoned property as true. A custom session module can then query the HttpSessionStateContainer.IsAbandoned property and remove the session information if the HttpSessionStateContainer.IsAbandoned property is true.