0

Good Day All

I hope someone can help me. i have a Asp.net web application that is running on 4.51 , When the User login Successfully i return an Object that has info for that user and store this in a Static object. Now my problem is the i

User 1 Login (Welcome James)

and

User 2 Login (WelCome Daniel)

and User 1 refreshes the Page (Welcome Daniel)

My user sessions override each other. i did mess around with the IIS Session before , i just noticed this now. Can anyone help.

Thanks

4
Contributors
3
Replies
16
Views
3 Years
Discussion Span
Last Post by mtyide
0

Are you using different browsers to test this? Because if you login as both users in a different tab in the same browser then it is recognized as the same session.

0

We assume that when you say sessions, you mean you are doing something like this...

 Session["userid"] = someData;

in this example, where are you getting this data to assign to the session variable?

Further reading for you...
ASP.NET Session State Overview

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.