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

Rubén A. Estrada Orozco rulotec1 at gmail.com
Tue Apr 5 15:27:21 GMT 2022


That's good to know Martin, thanks. Fortunately, this time it's not plesk.

Saludos

Rubén


On Tue, Apr 5, 2022 at 4:38 AM Martin Allen <martin.allen at exe-squared.co.uk>
wrote:

> 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> 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/
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20220405/d299b32c/attachment.html>


More information about the vtigercrm-developers mailing list