title: Session is not working properly on Chrome
body: <p>As weird as it sounds, I have a problem with sessions that occur only under Chrome. </p>
  
  <p>Here is the scenario: </p>
  
  <p>I have a method <code>search</code> in the controller:</p>
  
  <pre><code>public function search()
  {
      $keyWord = htmlspecialchars(strip_tags($this-&gt;get['keyword']));
      if(mb_strlen($keyWord) &lt; 3){
          $this-&gt;flashMessage-&gt;warning('keyword is too short');
          redirect(SITE_ADDR . '/forum');
      }
     ......
  }
  </code></pre>
  
  <p>Plain and simple - if the keyword from $_GET is less than 3 characters - save a message in $_SESSION and redirect. However if I go to the search page (eg. <code>site.com/forum/search/?keyword=fff</code>) (note there are 3 characters in $_GET) and start refreshing really quick, the error message is randomly set BUT the redirect function is never called. I tried stopping the script by inserting <code>exit();</code> right after <code>$this-&gt;flashMessage-&gt;warning</code> and the script was stopped with no problems but the redirect function is never called. For 1 or 2 characters, there is no problem with the redirect. Only for 3 and more characters when the error message is not even supposed to be set in a session.</p>
  
  <p>This only happens in Chrome. I tried Firefox and Opera and there was no such problem. I tried in incognito but nothing changed. Anyone has any idea why is this happening?</p>
  
  <p>I am not using a framework or anything.</p>