[Vtigercrm-developers] Vtiger 5.4 Automatic logout

Joe Bordes joe at tsolucio.com
Thu Dec 6 04:26:41 PST 2012


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 !
>
>         _______________________________________________
>         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/54461a87/attachment.html 


More information about the vtigercrm-developers mailing list