Closed dharanish closed 5 years ago
Oh really? I don't have much experience with the session middleware, but happy to take a look. Does it work if you add app.UseSession()
before the Global Exception Handling middleware?
Didn't mean the close the issue, I pressed the wrong comment button 😖
If we add app.UseSession() before exception handler we can session object
I presume this issue can be closed now? I'll close it, but if you're still having issues please feel free to reopen it.
In the request pipeline if I use app.UseSession() after app.UseGlobalExceptionHandler(...), the httpcontext session object will not be available.
Is there any workaround for it?