Re: [pgAdmin4][RM3371] Ping endpoint still send a pg4a_session cookie
От | Dave Page |
---|---|
Тема | Re: [pgAdmin4][RM3371] Ping endpoint still send a pg4a_session cookie |
Дата | |
Msg-id | CA+OCxownog76MyFfquLY7na_i9LtY4-h2FX6duJos1fKwAPMRg@mail.gmail.com обсуждение исходный текст |
Ответ на | [pgAdmin4][RM3371] Ping endpoint still send a pg4a_session cookie (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>) |
Ответы |
Re: [pgAdmin4][RM3371] Ping endpoint still send a pg4a_session cookie
|
Список | pgadmin-hackers |
Hi
I'm not in a position to test at the moment, but can you confirm this will work if the root of pgAdmin is at (for example) /pgadmin? So the actual root is /pgadmin/misc/ping ?
On Mon, Jul 2, 2018 at 1:35 PM, Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,Attached is the patch for fixing RM3371 where /misc/ping service generate session file for each call and so cannot be used frequently.The patch is to skip session file generation and session caching for the URLs provided in SESSION_SKIP_PATH list config parameter. pg4a_session_cookie value will still be generated but nothing will be stored at the backend.Also, I have separated the garbage collection code in current ping service to a new url /misc/cleanup. /misc/ping will be purely for is alive check.Request you to kindly review.--Thanks and Regards,Aditya ToshniwalSoftware Engineer | EnterpriseDB Software Solutions | Pune"Don't Complain about Heat, Plant a tree"
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
В списке pgadmin-hackers по дате отправления: