what is the difference between response.redirect and response status 301 redirects in asp?
<p>Our asp application is moving to new server and i want to implement a permenant url redirection. I am aware of following two approaches , i need to understand which one to user over other and when ?</p>

<p>Option 1:</p>

<pre><code>&lt;%@ Language=VBScript %&gt;&lt;% Response.Redirect "http://www.example.com" %&gt;
</code></pre>

<p>Option 2:</p>

<pre><code>&lt;%@ Language=VBScript %&gt;&lt;% Response.Status="301 Moved Permanently" 
  Response.AddHeader "Location","http://www.example.com/" %&gt;
</code></pre>

<p>Thanks,</p>

<p>Nikhil.</p>
