title: Define a variable in .NET that is not shared between Web Service calls
body: <p>I need some way to define an Static variable in .NET don't shared between Web Service calls.</p>
  
  <p>I have some web methods that recive the "username" (string) and password. After authenticate the user, i want to use "some global variable" that i can consult with this "username" when i need it. I can't use an Static variable, because static variable is shared between webmethods calls, and i need that this global variable not be shared between webservice calls (because they could be called by different users and i need every diference who is executing the methods). I also thought use an static dictionary with [thread id, username(string)], but thread ID is the same between difents calls...</p>
  
  <p>So, any idea how define a global variable (or an static variable) that is not shared between Web Service calls?</p>
  
  <p>Thx very much.</p>