title: ie is not understanding 'false' from a JSON string?
body: <p>I have some php that checks if a user is logged in and returns false, this is then passed via ajax to the browser to let the user know he needs to log in.</p>
  
  <p>Works perfect in FF and the alert returns <em>'true'</em> but in IE, it returns <em>'null</em>' no matter what I do</p>
  
  <pre><code>// Check for logged in user
      $.getJSON(baseUrl+"index.php/login/checkState", function(data) {
                      alert(data);
          if(data==true){
              dologInState();
          }else{
              dologOutState();
          }
      });
  </code></pre>
  
  <p>PS: the string returned from PHP is simply false</p>
  
  <p>Any ideas?</p>