I am at my wits end and am hoping someone can help me.
I have an asp.net/c# application which works fine on my laptop, in Production and I recently put in on a QA/Test server and a Development server. It works perfect everywhere except in Dev.
The first page is a logon page saved in a session. This username is used throughout the app; however, within a minute the user is directed back to the logon page. There are also other various session variables in the app that are used but these are also lost, or sometimes, as you are navigating through the app, the session values change to a previous value selected.
This is not consistent, it doesn’t always happen at the same place or in the same time frame.
I’ve searched the web for solutions and have ensured these things have been done:
- the server has .Net Framework 1.1 (apparently this was a bug in 1.0);
- it has IIS 6.0, and the options for this directory have “Enable session state” checked and the time is set for 20 minutes;
- Application pools is set to shut down worker processes after 1740 minutes and idle timeout is set at 20.
- the web.config is set at
“<sessionState mode="InProc" cookieless="false" timeout="3600" /> “ and,
<authentication mode="Forms">
<forms name="XXX" loginUrl="Logon.aspx" protection="All" timeout="3600"></forms>
</authentication>
- there is no virus software on this server.
- In IE browser (6.0), allow cookies is enabled, and under the advanced, privacy and security tabs, I’ve ensured everything is set exactly like the servers that are working correctly.
- The server has a standard name (no underscores)
I’m not sure what else to try, but this is driving my users insane. I really don’t believe it is in the code or web.config file since I do not have these problems on the other servers.
If anyone has any suggestions, I would greatly appreciate the advice.
Thanks.