Have you ever faced an issue where the session seems to be lost and in your visual studio there seems to be reloading the binaries while running your application, if yes then this might help.
check weather new files are being created in Bin folder or check if there is change in time after the previous build time for any dll or files. If so this will cause the reload of binaries and assemblies that you have used. Which will cause the restart of server(IIS or other ), resulting in lose of session.
check weather new files are being created in Bin folder or check if there is change in time after the previous build time for any dll or files. If so this will cause the reload of binaries and assemblies that you have used. Which will cause the restart of server(IIS or other ), resulting in lose of session.