Are session variables different on different computers?
Posted on 2016-07-27
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"] ?