I am having problems with the asp.net C # site where I set the session state object to true and then redirected to another page that should check the value of the session state object and it is null.
Sometimes it installs correctly, and other times is just null.
When I debug my local machine, it works great every time. Only when I upload to my web server does this temperamental behavior occur.
Since it is based on site security, it is obviously important that the session data is valid and accurate every time.
Is the session state data unsatisfactory?
AFAIK its set for inproc, cookieless, timeout 30 minutes, vanilla IIS installation.
Does anyone have any suggestions? Perhaps I need to execute thread.sleep between storing session data and reading?
NB: the time between writing and reading is about 70 ms .. enough time to write data to RAM .....
Grant source
share