title: Passing a Session Variable via a URL (ASP.Net)
body: <p>I have an aspx page, which is a "User Log-In" area.  I want to pass the userid to another page which is linked from the aspx page.</p>
  
  <p>the link I have looks something like this:</p>
  
  <p>www.abcdefg.com/Home/Redirect/?authtkn=123456abcd=xxxx</p>
  
  <p>I need the xxxx to be a session variable which in this case is userid.</p>
  
  <p>**userid is not sensative information, this is simply to redirect the user to another page for specified information.</p>
  
  <p>Any thoughts on how to pass a session variable to a URL, or if this can be done.  The example www.abcdefg.com is a different domain (on a different server) from the original aspx page.</p>