I’m stumped! I have an application I developed which has its session variables reset at odd times with no perceivable reason.
I have a dedicated server; I have the .net session state service running.
I have the following code in my web.config file

<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="45"/>

I normally timeout is less then 10 minutes.
I have setup a test site, if the site doesn’t work then I must have resolved the issue. The site is:
http://www.thisweb4me.com
Username and password: Sales1/Password1
After logging in you can check the session variables by going to: http://thisweb4me.com/dumpsession.aspx
You will see that I have session variables. Wait 10 minutes (sometimes less) and refresh the dumpsession.aspx page and you will see I lost my variables.

I’m at a total loss as what it may be and appreciate any suggestions.

I gave up on this, switched to SQL Mode and now I'm sill timing out but getting a Validation of viewstate MAC failed error. Will repost with new problem

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.