title: Which one is more secure between Response.Redirect or Server.Transfer on the same server?
body: <p>I have been reading these two functions and am considering to pick up the one which is much more secure. I want to use <code>Server.Transfer</code> because it executes at the server side in a sense. Is it better to use?</p>
  
  <pre><code>Server.Transfer("myUrl.aspx?id=1");
  </code></pre>
  
  <p>or</p>
  
  <pre><code>Response.Redirect("myUrl.aspx?id=2");
  </code></pre>
  
  <p><strong>Update:</strong></p>
  
  <p>My question is based on the client-side data security which comes from a previous page rather than a URL change.</p>