title: Asp.net losing session on post back on some pages in chrome
body: <p>I am trying to deploy a Vb.net Asp.net Web forms application, but having problems.</p>
  
  <p>We have a slightly bizarre problem where we seem to be losing session on some aspx pages in chrome on post back (not all).</p>
  
  <p>It seems perfectly fine in internet Explorer and Firefox.</p>
  
  <p>This only happens when deployed to IIS 6, and not when debugging locally.</p>
  
  <p>It is using HTTPS.</p>
  
  <p>Does anybody have any ideas or suggestions why might be or where to focus the investigation? </p>
  
  <p>No JavaScript errors are found.
  No errors are happening in codebehinds.</p>
  
  <p>Thanks for any help!</p>
  
  <hr>
  
  <p>Update 1:
  Thanks for comments. We have the same ASP.NET_SessionId in the cookies on all pages - this never changes... 1. Enter first page, fill out form, session variables are added 2. Enter the second page we have the session variables, these are checked on the page_load event. 3. Fill out form on the second page and submit, we hit the page_load event, once again we check that the session variables are present, but this time they are missing. ...There isn't anywhere in the code where we clear these session variables. This is a web application project.   </p>
  
  <p>I think we are using forms authentication, it is set to allow anonymous as this will be a public application This is only happening in Chrome, and only happening when deployed to IIS - it isn't happening when debugging locally with the Visual Studio 2010 test web server. Could there be some obscure environmental problem? It is very frustrating! :/ I'm not currently at work so I will need to double check some of the other details, this is code we have recently inherited and the original authors are not with us. Thanks very much for all your help! I really appreciate this.</p>
  
  <p>Update 2:
  We are losing session variables somewhere between the SaveStateComplete event on the page and the postback.</p>
  
  <ul>
  <li>Page_Load - QuoteCarousel.aspx - <strong>is postback = False</strong> Session Id: yu2afsxpafu0qmzbkxqp1dd4. <strong>items in session: 23</strong></li>
  <li>Page_SaveStateComplete QuoteCarousel.aspx Session Id: yu2afsxpafu0qmzbkxqp1dd4. <strong>items in session: 32</strong></li>
  <li>Page_PreInit QuoteCarousel.aspx Session Id: yu2afsxpafu0qmzbkxqp1dd4. <strong>items in session: 7</strong></li>
  <li>Page_Init QuoteCarousel.aspx Session Id: yu2afsxpafu0qmzbkxqp1dd4. <strong>items in session: 8</strong> </li>
  <li>Page_InitComplete QuoteCarousel.aspx Session Id: yu2afsxpafu0qmzbkxqp1dd4. <strong>items in session: 8</strong></li>
  <li>Page_Load - QuoteCarousel.aspx - <strong>is postback = True</strong> Session Id: yu2afsxpafu0qmzbkxqp1dd4. <strong>items in session: 8</strong></li>
  </ul>