<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">No, these variables are not in the
      code.<br>
      <br>
      Joe<br>
      TSolucio<br>
      <br>
      <br>
      <br>
      On 06/12/12 13:56, Alexandru Mihai wrote:<br>
    </div>
    <blockquote
cite="mid:CABGFLWwgSPj6UVoSOPwZn0apxtMtAchufmmeVsGOTHEYkG2UXw@mail.gmail.com"
      type="cite">Yes, &nbsp;in this case there are 2 variables :&nbsp;
      <div>
        <ul>
          <li><br>
          </li>
          <li>session.gc_probability = 1</li>
          <li>session.gc_divisor &nbsp; &nbsp; = 100</li>
        </ul>
        I've modified them to 100 and 100 , so
        the&nbsp;gc_probability/gc_divisor should be 100%, because 1/100
        means 1% percent.</div>
      <div>In this case this still doesn't works.&nbsp;</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 moz-do-not-send="true"
              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'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.&nbsp;
                    <div>I'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've set in my apache cookie_lifetime , and
                      with this it's working , but still, my default
                      cookie_lifetime is 0 , so that means the session
                      shouldn't be destroyed until I close the browser
                      .&nbsp;</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
                            moz-do-not-send="true"
                            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. &nbsp;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>&nbsp; &nbsp; &lt;IfModule php5_module&gt;</div>
                            <div>&nbsp; &nbsp; &nbsp; &nbsp; php_value
                              session.gc_maxlifetime 21600<br>
                            </div>
                            <div>&nbsp; &nbsp; &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
                                      moz-do-not-send="true"
                                      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've searched in the forum and
                                      found this question but without an
                                      answer &nbsp;.&nbsp;<a
                                        moz-do-not-send="true"
                                        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&nbsp;<a
                                        moz-do-not-send="true"
                                        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>
                                <br>
                              </blockquote>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>