title: How do you redirect in ColdFusion and control the status code (i.e. 301 instead of a 302)
body: <p>This code does a redirect, but uses a 302 status code:</p>
  
  <pre><code>&lt;cflocation url="http://stackoverflow.com" addToken="no" /&gt;
  </code></pre>
  
  <p>I found this on the Internet, but I think it only works in ColdFusion8.  I am using ColdFusion7.  </p>
  
  <pre><code>&lt;cflocation url="http://stackoverflow.com" addToken="no" statuscode="301" /&gt;
  </code></pre>
  
  <p>Hoe do you control the status code in ColdFusion7?</p>