Re: Session timeout

From: Arni Kromić <arni(dot)kromic(at)bios-ict(dot)hr>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: Session timeout
Date: 2019-10-17 13:24:05
Message-ID: 785d6631-e392-61f7-d802-321d69d4c05a@bios-ict.hr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 17/10/2019 11.05, Khushboo Vashi wrote:
> Hi Arni,
>
> On Thu, Oct 17, 2019 at 1:41 PM Arni Kromić <arni(dot)kromic(at)bios-ict(dot)hr
> <mailto:arni(dot)kromic(at)bios-ict(dot)hr>> wrote:
>
> A question asked on the list reminded me of something... I've always
> wondered if it's possible to prolong or prevent pgAdmin4 session
> timeouts. This way if I leave the computer for a long time (especially
> if it gets suspended), I have to refresh page, and login again. That
> also means that any query/data tabs are lost.
>
> Can i prevent the session from expiring so I can stay logged in? I
> don't
> need this at all for security because both the database and the
> pgAdmin
> service are on my development computer which only I use.
>
> No, you can't prevent the session expiration completely but, you can
> increase the timeout limits.
> Check the below configurations in config.py file.
>
> MAX_SESSION_IDLE_TIME
> SESSION_EXPIRATION_TIME
> CHECK_SESSION_FILES_INTERVAL
>
> You will get information regarding the parameters in the file itself,
> and can override above settings as per your requirement.
>
> Thanks,
> Khushboo
>

Thank you very much, I believe this is exactly what I need. I've tuned
those parameters on my development machine to work more comfortably, I
hope it will do the trick.

--
Kind Regards,
Arni Kromić

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Akshay Joshi 2019-10-17 13:36:07 pgAdmin 4 v4.14 released
Previous Message Dave Bolt 2019-10-17 10:13:17 RE: Save Session?