title: Passing session to another sub-domain
body: <p>In C# how can I pass a Session from one sub domain to another sub domain?
  For instance I am using IIS localhost and I tried to send value from</p>
  
  <p><code>http:\\localhost\site1</code> to <code>http:\\localhost\site2</code></p>
  
  <p>using the below way</p>
  
  <pre><code>In site1
  
  Session["test"] = "My value";
  
  In site2
  
  Response.Write(Convert.ToString(Session["test"]));
  </code></pre>
  
  <p>The above method worked fine to pass values from one page to another but I need values to be passed from one sub domain to another sub domain i.e. one IIS web application to another IIS web application.</p>