Last post Apr 25, 2012 03:17 AM by sonhir
Apr 24, 2012 08:11 AM|sonhir|LINK
1. ASP.NET 2.0
2. State server
3. IIS 6.0
Issue is :
Sometimes all the values of session are lost and sometimes from the collection few are lost. This happens randomly and does not occur in specific pattern.
Anyone having any idea on this or faced similar issue earlier please share.
Apr 24, 2012 08:43 AM|praseTech|LINK
check this link this may help you out
Apr 24, 2012 08:58 AM|sonhir|LINK
Thank you for the help.
Actually I have already gone through it earlier. It didn't help me.
Apr 24, 2012 12:52 PM|Motley|LINK
I've never seen this happen. It is likely one of a few things are happening:
A) You are accidentally overwriting a session variable accidentally or
B) The user is opening two tabs using the same session, and the way you have designed your site it is causing an issue with the states being out of sync.
C) The user is using the back button in the browser causing you to go back to a previous page after you have removed/changed the session variable.
Apr 25, 2012 03:17 AM|sonhir|LINK
Thank you Montley. Yes I agree to your points that this might have happen. But it is not with 1-2 users. It's happening with multiple users and it has started all of a sudden after we have shifted the servers to a new data center.
It's just a physical movement. None of the softwares/services are reinstalled. As well there is no code change. This was working very well.
It's difficult to trace where things went wrong. In fact we are trying other ways as well.
Do you have any idea on how we can monitor the session behaviour externally without making any code change[I mean other than having application trace on in web.config]. Something similar to SQLServer Profiler which monitors what's happening on SQL.
I am looking for such tool or to write some piece of code which would monitor web apps behaviour. I do not want to make change to web.config of production. So I am looking for something apart from trace = true at app. level. I tried performance monitor but
does not seem to be helpful in our scenario.
I am novice to ASP.NET. So your points will be very valuable.