title: This problem can sometimes be caused by disabling or refusing to accept cookies
body: <p>I am getting the below problem in drupal6 when writing php redirect.</p>
  <p>This is the problem:</p>
  <blockquote>
  <p>The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete.</p>
  <p>This problem can sometimes be caused by disabling or refusing to accept cookies.</p>
  </blockquote>
  <p>I have written code like:</p>
  <pre><code>global $base_url,$user;
  $uid = $user-&gt;uid;
  
  $msg = &quot;Please select your user type (capital provider or project sponsor) and agree to the terms and conditions. Then, you’ll be able to post and find capital or a project in which to invest.&quot;;
  
  $url =  $base_url.&quot;/editProfile?message=&quot;.$msg;
  
  header(&quot;Location: $url&quot;);
  </code></pre>