[Vtigercrm-developers] Vtiger 5.4 Automatic logout

Alexandru Mihai alexandru at webio.ro
Thu Dec 6 04:56:29 PST 2012


Yes,  in this case there are 2 variables :

   -
   - session.gc_probability = 1
   - session.gc_divisor     = 100

I've modified them to 100 and 100 , so the gc_probability/gc_divisor should
be 100%, because 1/100 means 1% percent.
In this case this still doesn't works.

Do you now if these variables are set somewhere in vtiger core ?

Thank you very much !

On Thu, Dec 6, 2012 at 2:26 PM, Joe Bordes <joe at tsolucio.com> wrote:

>  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.
>
> Joe
> TSolucio
>
>
>
> On 06/12/12 13:19, Alexandru Mihai wrote:
>
> 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.
> 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.
>
>  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 .
>
>
>  Thank you for the help!
>
> On Wed, Dec 5, 2012 at 4:57 PM, Adam Heinz <amh at metricwise.net> wrote:
>
>> 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:
>>
>>      <IfModule php5_module>
>>         php_value session.gc_maxlifetime 21600
>>      </IfModule>
>>
>>
>>
>>  On Wed, Dec 5, 2012 at 8:09 AM, Alexandru Mihai <alexandru at webio.ro>wrote:
>>
>>>  Hy guys,
>>>
>>>  Did anybody tried to disable or increase the time for automatic logout
>>> in vtiger 5.4.
>>> I've searched in the forum and found this question but without an answer
>>>  . http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6979
>>> Also there is a ticket here
>>> http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6979 , but no solution.
>>>
>>>  Thank you very much !
>>>
>>>  _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
>
> _______________________________________________http://www.vtiger.com/
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20121206/45e1c035/attachment-0001.html 


More information about the vtigercrm-developers mailing list