I am facing an issue with one of the deployed applications where I am seeing same session ids being provided to different users. The main source of this analysis is the nlog file which outputs the session and identity.
The deployed environment is asp.net mvc 5.2, .NET 4.5, IIS 8.5
I am unable to reproduce the error on my local system with a simulated load of 200 users and also not able to figure out any pattern as to when the session-ids are getting re-used
I have tried to
- Disabled cache a global filter level to ensure that there is no aggressive caching - ASP.NET MVC how to disable automatic caching option?
Further to this I want to try couple of things -
- I will try to assign a dummy value on every successful login just to ensure that session is used
- Try to use in-memory session rather than using Redis Session State Provider
- Remove the dependency of session in the application and use cache
I am not sure if I am looking @ right direction in solving this issue. Any suggestions will be of great help.