Leaky Sessions?!!!

  • Thread starter Thread starter Anil Gupte
  • Start date Start date
A

Anil Gupte

I have some very strange behavior in a web app that we created. Lets say
Person A is logged in and then Person B logs in from a different computer in
different locations (they could even be different countries!) and Person A
starts to see pages customized for Person B! Even Session variables like
username for Person B show up on Person A's screen.

What is going on? How can I fix it?

TIA,
 
You have a different problem than "leaky sessions" as you describe it.
Sessions are based on a session cookie, which clearly will be different and
have a different sessionID in the situation you describe.

However, if you have static fields in your app, then yes, you could end up
seeing what you describe, because there is only ever one copy of the field's
data, and that would account for what you are seeing.

--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com
 
Anil,

This looks like a problem with your code most likely. If there was a
problem like this in the session state in ASP.NET, I'm sure that it would
have been pointed out much sooner than this.

Of course, without knowing ANYTHING about your app, it's impossible to
say.
 
Back
Top