state management issue
-
I am having state management problem.Currently I am using <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20"/> in my web.config file and its working fine As there are two other state management methods StateServer and SqlServer I am a bit confused which one to use.And if anyone can tell will there any problem if i use the current setting?What are the changes I have to make in my current settings to avoid any problem as once I opened my website and a link was shown to me "the object has been moved here".When I clicked that my home page loaded but i was unable to access my admin page by logging in and redirected back to the login page.In my code the username is stored in session variable and if it is not provided the user will be redirected to the login page and even after providing the username and password I was kept redirected to the login page.I thought it definitely is session's issue. When that home page loaded directly by typing the url after a while, there was no problem.Can anyone explain what is wrong?Thanks