Leaky Sessions?!!!

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,
 
P

Peter Bromberg [C# MVP]

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top