title: Only in index page my session wont start not sure because its my host
body: <p>Only in my index page session won't start but if I go to another page the session would start or if I go to another page than back to the index page the session would start. The way I have it set up I'm using jQuery AJAX. If it goes through it should create a session than the page refreshes than the session start but it won't start that's the problem.</p>
  
  <p>Top section of the index page:</p>
  
  <pre class="lang-php prettyprint-override"><code>ob_start;
  error_reporting(0);
  session_set_cookie_params(3600 * 24 * 7, '/', '.example.com');
  session_start();
  </code></pre>
  
  <p>If I get rid of <code>error_reporting(0)</code> I get these errors</p>
  
  <blockquote>
    <p>session_start() [function.session-start]: Cannot send session cookie - headers already 
    session_start() [function.session-start]: Cannot send session cache limiter </p>
  </blockquote>
  
  <p>I don't get those errors in other pages  </p>