[Vtigercrm-developers] Vtiger 5.4 Automatic logout
Joe Bordes
joe at tsolucio.com
Thu Dec 6 07:25:25 PST 2012
No, these variables are not in the code.
Joe
TSolucio
On 06/12/12 13:56, Alexandru Mihai wrote:
> 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
> <mailto: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
>> <mailto: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 <mailto: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 !
>>
>> _______________________________________________
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20121206/1d31d512/attachment.html
More information about the vtigercrm-developers
mailing list