Last post Sep 18, 2011 08:33 AM by rmanop
Sep 14, 2011 02:21 AM|rmanop|LINK
My application store session variable if user login successed.
And session variables will be read only.
Session variable store Detail Information of the login-user such as employee_no, name, position, department etc.
And every pages will read that session variables to show the employee-detail.
The previous version of my application use .net framework 1.1 deploy on Windows2003 server and use IE 8 or lower as a broswer.
It has no problem with the session variables.
But after i upgrade to .net framework 3.5 (some 3rd party compunent need it) and deploy on Windows 2008 server and use IE9 as a browser.
I encounter with the session variables problem as follow:
User A login to the system and use the system for a while.
But sometime User Detail that show on the page is not his/her detail.
It get another employee detail to show on page.
It look like session A get the value of session B to display for Session A.
Could anyone please suggest for the solution?
User never found the error for IE8 or lower.
Server: Windows 2008R2 standard version 6.1 (build 7601: sp1)
Application Server: IIS 7.5.7600.16385
Browser: IE 9
Sep 14, 2011 05:08 AM|PerunX|LINK
which session state mode do you use?
Sep 14, 2011 02:55 PM|konanki|LINK
use session mode as SQLSERVER, you can't face session swaping.
I'm not sure what to think, but you might want to have a look at this article, as it might help narrow down what is going on,
Sep 18, 2011 08:33 AM|rmanop|LINK
This is the configuration for Session in web.config file.
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20"/>