Session state lost between ajax posts?
<p>I have an asp.net login page, which when initialized sets some session variables. When the user clicks login, an AJAX request is made which validates the user and sets additional session variables and returns a result to the client. The client is then redirected based on the login result. In the redirected page, I can access the session variables set when the login page was initialized (i.e. before the login) but none are present for those set during the login validation (part of an ajax call).</p>

<p>is this expected behaviour? Why would an ajax call generate a new session and thus cause the data to be lost?</p>

<p>Thanks</p>
