When allowing the SessionSate to remain in it’s default state ie InProc, my website works fine after callbacks etc. When I change it to:
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" timeout="10" />
SessionSate is lost after callback.
The ASP.Net State Server service is working fine so what else should I be checking?
2
Answers
There were no issues in the code-behind however there was an issue with a popup window javascript which called localStorage to store session data. Once I removed the call to localStorage all worked fine.
Thanks to @wp78de for heading me in the right direction.
For more info look at:
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-asp/83f6b453-c695-419c-998b-0aa50279bc40