I have a old web application in VS2003. It has a user Logon but some time it will store worng user Id in database, I can't figure it out what is the wrong. It is not happening everytime only sometime.

I am trying to create that condition but It won't but only happens in production.

<sessionState mode="InProc" stateConnectionString="tcpip=" sqlConnectionString="data source=;user id=userid;password="xyz"
cookieless="false" timeout="30" />

Please anyone can help


9 Years
Discussion Span
Last Post by Tekmaven

Not that it matters, but the two attributes stateConnectionString="tcpip=" sqlConnectionString="data source=;user id=userid;password="xyz" are totally ignored in your configuration, because the mode is set to InProc. There are three possible values for mode, InProc, StateServer and SQLServer. The stateConnectionString attribute is only used when the mode is set to StateServer, and the sqlConnectionString value is only used when the mode is set to SQLServer.

As far as your problem, can you post the code where your login is stored into session state? That will probably help out a lot.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.