[Vtigercrm-developers] how to extend session time in vtiger

Martin Allen martin.allen at exe-squared.co.uk
Tue Apr 5 09:34:20 GMT 2022


Also be aware that other factors can also affect session handling – e.g. if sessions are stored in files, then we discovered an issue when using Plesk managed Servers that means the max lifetime can only be 1 hr (as Plesk automatically removes session files after an hour irrespective of what PHP session.gc_maxlifetime value you specify!!)

From: vtigercrm-developers-bounces at lists.vtigercrm.com <vtigercrm-developers-bounces at lists.vtigercrm.com> On Behalf Of Rubén A. Estrada Orozco
Sent: 04 April 2022 18:02
To: vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] how to extend session time in vtiger

Thanks a lot!
Saludos

Rubén


On Mon, Apr 4, 2022 at 11:59 AM Alan Lord <alanslists at gmail.com<mailto:alanslists at gmail.com>> wrote:
On 04/04/2022 17:44, Rubén A. Estrada Orozco wrote:
> For now I have just increased session.gc_maxlifetime from 1440 (24 min)
> to 36000 (10 hrs).
>
> Alan, do you think that should do?

I think you will also need to change $maxWebServiceSessionIdleTime if I
recall correctly (or create your own session handler as Angelo
mentioned). See:

https://code.vtiger.com/vtiger/vtigercrm/blob/master/include/Webservices/SessionManager.php

Al

_______________________________________________
http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20220405/3b6aa1e0/attachment-0001.html>


More information about the vtigercrm-developers mailing list