- session
- The System.Web.SessionState.IHttpSessionState implementation instance for the session that has ended.
- eventSource
- The event source object to supply to the Session_OnEnd event.
- eventArgs
- The EventArgs object to supply to the Session_OnEnd event.
The SessionStateUtility.RaiseSessionEnd(IHttpSessionState, object, EventArgs) method is used by a session-state module to execute the Session_OnEnd event defined in the Global.asax file for an ASP.NET application. A session-state module will call the SessionStateUtility.RaiseSessionEnd(IHttpSessionState, object, EventArgs) method when a session has been abandoned, or if the session expires.