Ran into a stupid problem…
So right now I implement Application_Start to load up the hash tables, which works fine. Next in Session_Start I parse a user’s cookie to retrieve his name, which, again, works fine. The problem happens when I store his username in a variable in Global.asax.cs. I didn’t really realize that this is a variable shared among all processes/threads. So I guess my question is how do you parse a user’s cookie one time and then save the data for sure elsewhere in the process/thread.
You can store cookies in session and use it later. You can store any object in session collection and retrieve it later before it expires. You can read more over here
Assigning to session
Retrieving from session object