Yes,  in this case there are 2 variables : <div><ul><li></li><li>session.gc_probability = 1</li><li>session.gc_divisor     = 100</li></ul>I&#39;ve modified them to 100 and 100 , so the gc_probability/gc_divisor should be 100%, because 1/100 means 1% percent.</div>
<div>In this case this still doesn&#39;t works. </div><div><br></div><div>Do you now if these variables are set somewhere in vtiger core ?</div><div><br></div><div>Thank you very much !<br><br><div class="gmail_quote">On Thu, Dec 6, 2012 at 2:26 PM, Joe Bordes <span dir="ltr">&lt;<a href="mailto:joe@tsolucio.com" target="_blank">joe@tsolucio.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Read the documentation about all the
      variables of the php garbage collector, there are a few more that
      can influence the elimination. Off of the top of my head I
      remember having to modify gc_probablity a lot of times.<br>
      <br>
      Joe<br>
      TSolucio<div><div class="h5"><br>
      <br>
      <br>
      On 06/12/12 13:19, Alexandru Mihai wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">I&#39;ve tried by setting session.gc_maxlifetime to 5 in
      my apache , I waited for 45 seconds , until vtiger makes the
      automatic request and the session was still up. 
      <div>I&#39;ve noticed that in vtiger gc_maxlifetime is set to some
        values , like 1400, in many places. One of them is Session.php .
        It is posible that gc_maxlifetime to be set somewhere in vtiger,
        and overwrite my default time from apache ? Because it seems
        like this is the reason.</div>
      <div><br>
      </div>
      <div>I&#39;ve set in my apache cookie_lifetime , and with this it&#39;s
        working , but still, my default cookie_lifetime is 0 , so that
        means the session shouldn&#39;t be destroyed until I close the
        browser . </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>Thank you for the help!<br>
        <br>
        <div class="gmail_quote">On Wed, Dec 5, 2012 at 4:57 PM, Adam
          Heinz <span dir="ltr">&lt;<a href="mailto:amh@metricwise.net" target="_blank">amh@metricwise.net</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As Joe
            mentions in that thread, you can use the Apache session
            timeout.  That is what we do here as well, but instead of a
            server-wide setting, we have a setting specific to that
            vhost:
            <div>
              <br>
            </div>
            <div>
              <div>    &lt;IfModule php5_module&gt;</div>
              <div>        php_value session.gc_maxlifetime 21600<br>
              </div>
              <div>    &lt;/IfModule&gt;<br>
              </div>
            </div>
            <div><br>
            </div>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">
                <div>
                  <div>On Wed, Dec 5, 2012 at 8:09 AM,
                    Alexandru Mihai <span dir="ltr">&lt;<a href="mailto:alexandru@webio.ro" target="_blank">alexandru@webio.ro</a>&gt;</span>
                    wrote:<br>
                  </div>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div>
                    <div>Hy guys,
                      <div><br>
                      </div>
                      <div>Did anybody tried to disable or increase the
                        time for automatic logout in vtiger 5.4.</div>
                      <div>I&#39;ve searched in the forum and found this
                        question but without an answer  . <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6979" target="_blank">http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6979</a></div>
                      <div>Also there is a ticket here <a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6979" target="_blank">http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6979</a>
                        , but no solution.</div>
                      <div><br>
                      </div>
                      <div>Thank you very much !</div>
                      <br>
                    </div>
                  </div>
                  _______________________________________________<br>
                  <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
                </blockquote>
              </div>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>