title: Set global variables to client only asp.net
body: <p>A while back I created a simple login form, which went to a database and pull down the information of the users logging on. Now I did this by using <code>global variables</code>; not realizing that they are server side variables not client side. So what happening is, say if I logged on on one computer, all other users using that site would be logged on as me.</p>
  
  <p>So my question is.</p>
  
  <blockquote>
    <p>A) Is there a way to set the global variable to client side, so that
    only the people using that pc are affected by the change in variables.</p>
    
    <p>B) Is there an alternatve to using global variables; so that i can
    pass data between pages, like the global variable does.</p>
  </blockquote>
  
  <p>I have tried using query strings. And although they work. They are a slight bit fiddly i find, as you have to parse them, and every time you leave each page; you have to send them to the new page.</p>