Are session variables different on different computers?

I have an Intranet application. So different users access the website within the company at their work stations. A few of the users share the same username and password (Don't panic we have reasons for allowing for this).

I am working on a C# MVC application.

In the C# code, data is assigned to a session variable, depending upon various conditions.
Session["GateKeeper"] = InVariable;

So here is my question. Will each particular user at his or her work station have their own unique instance of the Session variable value? Or is the value shared by all of the users.

Example scenario. Amy is at her work station and her Session["GateKeeper"] is assigned a value of "Amy". Fernando is at a different work station, and has just logged in. his session variable Session["GateKeeper"]  is assigned a value of "Fernando".  Since Fernandos session variable was assigned last, will it over write Amy's session variable, or does each work station have a different value for Session["GateKeeper"] ?
LVL 2
brgdotnetcontractorAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
Session IDs are normally assigned by the server session code to a specific browser and connection.  It might be possible to cross contaminate the data but that is very rare.
0
 
brgdotnetcontractorAuthor Commented:
Thank you Dave. Awesome beard you have going on there.
0
 
Dave BaldwinFixer of ProblemsCommented:
Thank you and you're welcome!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.