Issuse with session_start()
<p>I am new with advance php. Please can you explain what this function does?</p>

<pre><code>ini_set('session.use_trans_sid', 0);
</code></pre>

<p>I have particular file named index.php in which if I start session I get following error on this function.</p>

<blockquote>
  <p>Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module's ini settings at this time in [...]/main.inc.php on line 35</p>
</blockquote>

<p>I have installed a module and that module is removing all main page sessions, which is why I put a condition on it - to check <code>session_start()</code> and that particular condition for session.</p>
