Forum  Commercial Foru...  Commercial Foru...  !!! huge problem, users get sessions of other users !!! (IIS7 bug?)
Previous Previous
 
Next Next
New Post 9/25/2009 1:44 AM
  Visualizer
665 posts
1st Level Poster




Re: !!! huge problem, users get sessions of other users !!! 

On one of the threads Pali sent we found this...

You should not be enabling output caching for any response which depends on session state - I am not sure what the IIS bug here is.

Anil Ruia
Senior Software Design Engineer
IIS Core Server

I'm not sure if this is the thruth, coz other people on the forum doubt about this. But for now we disabled all IIS7 caching...

<caching>
      <profiles>
        <add extension=".wgx" policy="DontCache" kernelCachePolicy="DontCache" duration="00:00:30" />
      </profiles>
</caching>

 
New Post 9/25/2009 2:21 PM
  palli
11189 posts
1st Level Poster




Re: !!! huge problem, users get sessions of other users !!! 

Hi Tom,

I am not convinced that your problem relates to making ThreadSuspend work or not. That should not be relevant here I think Personally I just think it's good practice to have ThreadSuspend do this cleanup of session when you have sensitive information, to make sure that when user does go to another web page, he is not able to click the browser's back button and have everything intact like the way it was when he left. For sensitive information, that can be disastrous.

I tested the ThreadSuspend event firing in VS2008 dev server on 6.3.11 (currently same as 6.3.10), and it does fire in all refreshes and going to another web page, but not on browser close within the dev environment, but that is probably something related to the dev environment, as when deplolyed to server and logging to a text file, it does fire on browser close.

Please let us know how this change in caching turns out in relation to your session conflicts.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 9/28/2009 1:07 AM
  Visualizer
665 posts
1st Level Poster




Re: !!! huge problem, users get sessions of other users !!! 

Hi guys, thanks for all the replies.

I guess we located the problem...

·         We use a login form to authenticate the users to get acces to the system
·         In some exceptional situation there was a possibility an unhandled exception could occur (null reference exception)
·         This error caused the application pool to crash or to become unstable
·         The result is that IIS7 mixes up the sessions and users can get sessions of other users
·         We never experienced this on IIS6 so it looks like an IIS7 bug
 
See also article:
 
Currently we have this call open at Microsoft, if i have more information i will let you know.

Best regards,

Tom

 
New Post 9/28/2009 2:35 PM
  palli
11189 posts
1st Level Poster




Re: !!! huge problem, users get sessions of other users !!! 

Hi Tom,

This is a really, really bad IIS7 bug. Thanks so much for sharing, and yes, please let us know about the progress of this problem.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 3/18/2010 3:32 PM
  palli
11189 posts
1st Level Poster




Re: !!! huge problem, users get sessions of other users !!! 

Hi Tom,

Have you had any luck with the call you opened with Microsoft on this problem ?

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  !!! huge problem, users get sessions of other users !!! (IIS7 bug?)
Assessment Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS