I want to extend a session timeout but phpinfo doesn't recognise it
<p>I want to extend my $_SESSION variables in my php to 50 minutes but when I try to change it, in my phpinfo() command it doesn't seem to change the expire time for the session. Does anyone know what I need to do in order to be able to extend a session?</p>

<p>Below is my code:</p>

<pre><code>&lt;?php
  // PHP code
  session_start(); 
  phpinfo();

  ini_set(’session.gc_maxlifetime’, 50*60);
  ini_set(‘session.gc_maxlifetime’,50);
ini_set(‘session.gc_probability’,1);
ini_set(‘session.gc_divisor’,1);

?&gt;
</code></pre>

<p>Below is what it currently say for SESSION in phpinfo() command:</p>

<pre><code>session.gc_divisor  1000    1000
session.gc_probability  0   0
session.gc_maxlifetime  1440    1440
</code></pre>
