title: aspx page to redirect to a new page
body: <p>What is the code required to redirect the browser to a new page with an ASPX page?</p>
  
  <p>I have tried this on my page default.aspx :</p>
  
  <pre><code>&lt;% Response.Redirect("new.aspx", true); %&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;%@ Response.Redirect("new.aspx", true); %&gt;
  </code></pre>
  
  <p>And these resulted in a server error that is undetermined. I cannot see the error code; because the server is not in my control and the errors are not public.</p>
  
  <p>Please provide all necessary code from line 1 of the page to the end, and I would really appreciate it.</p>