title: Session ID changes in each Request
body: <p>I have an asp.net application in which i redirect from one page to another. I'm validating the <code>SessionID</code> in the second page to make sure both requests are of the same session. Now, my problem is the SessionID changes whenever a Postback is happened.</p>
  
  <p>Now, I added the Session tag into my <code>web.config</code></p>
  
  <pre><code>&lt;sessionState mode="InProc" cookieless="true"/&gt;
  </code></pre>
  
  <p>Now, the problem with the session was solved and a new issue started appearing. Whenever i make a call with <code>Cookiless="true"</code> in my <code>web.config</code> file, my URL shows a junk address </p>
  
  <p><code>http://localhost:10766/(S(ojbcobj0aw0wiosttgpknwby))/registration.aspx</code></p>
  
  <p>If I remove the <code>Cookieless</code> tag the session will be lost in the next page?
  Do anyone know why is this coming and if any fix is there for this problem?</p>
  
  <hr>
  
  <p>I went through lot of threads but i couldn't find a proper fix for this.</p>
  
  <hr>
  
  <p>EDITED:
  I Set my <code>cookieless="false"</code> and now its working fine.</p>