Home » FAQ » ASP.NET » Session » Do I have a valid HttpSessionState object and HttpContext object in Session_End?
You will have the HttpSessionState object available. Just use ’Session’ to access it.
For HttpContext, it is not available because this event is not associated with any request.
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with