title: weird problem with aspx page closing automatically
body: <p>First I am new to the asp .net world and am trying to figure out a weird issue that I am having. Any suggestions or comments are welcome.</p>
  
  <p>I have a page that has a form and on submit I launch another aspx file that exists in the same directory.</p>
  
  <p>The problem is the aspx file is shown and the file closes immediately!. 
  Howewever, the weird part is if I make any modifications to the aspx file and save it and then run my application it works fine ONLY THE FIRST TIME!? any subsequent submit actions launch the aspx page but then the aspx file immediately closes.</p>
  
  <p>But after I make some modifications to the aspx file..(simple ones) it launches correctly the first time.</p>
  
  <p>I realize that this is very little info to go on and I am not even sure if I have got my point across...but any suggestions on how to debug this will be helpful.</p>
  
  <p>We are targetting .net version 4.0 and using IIS7. 
  I am thinking that the asp worker process is doing something weird like checking for timestamps and closing it?! Not sure tho.
  Any help is appreciated.</p>