title: random IIS session timeout
body: <p>I have a very strange problem and I am looking for any advice. I have a ASP.NET website running off of IIS 6 which works well for the most part. However, the sessions seem to be randomly cleared? So if I login...click around, i am booted out randomly. Sometimes it's after 30 seconds/4 clicks. Sometimes it's the first click, sometimes it won't even let me login...and sometimes it work fine?? (the reason i know it's being cleared because i print the session when I am logged off, and they are empty)</p>
  
  <p>I have taken a look at the IIS logs but they don't tell me much. I suspect it might be a timezone problem?,..I was wondering if anyone has any knowledge on whether this is a possibility? </p>
  
  <p>Other than that, any tips on how I can find out more on what is happening in the sessions?</p>
  
  <p>By far the strangest part about my problem is it's randomness. Which will probably serve as a good clue for the cause for an IIS/ASP.NET expert. (at least I hope so!)</p>
  
  <p>Another clue: the site works perfect when I host it locally, and I only get the problem when I host it off my virtual godaddy server. (which is running IIS 6)</p>
  
  <p><strong>another thing I noticed</strong></p>
  
  <p>on local host my cookies look like this: (from firebug)
  Cookie  ASP.NET_SessionId=vgt4ly45frvsm1qsfjsmdcbc; username=; demo=true</p>
  
  <p>on the hosted server it is just this:
  Cookie  ASP.NET_SessionId=vgt4ly45frvsm1qsfjsmdcbc;</p>
  
  <p>"username" is the name of my session...maybe i have cookies disabled on the shared hosting and this is causing the session not to work?</p>
  
  <p>Thanks for your time,
  Andrew</p>