Add global web.xml to simplify session timeout configuration

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Add global web.xml to simplify session timeout configuration

Xin Wang
Hi all,

Currently, session timeout is configured in apps separately, in their per-app web.xml. But as we share session globally, the app which has smallest session timeout will take effect.

Then it is both inconvenient and confusing when trying to alter session timeout value, as values in all web.xml of apps need to be updated.

I think a global web.xml is needed to simplify session timeout configuration.

I have proposed a patch in Jira [1], any comments and suggestions are welcome.

Regards,

Xin Wang

[1] https://issues.apache.org/jira/browse/OFBIZ-12255
Reply | Threaded
Open this post in threaded view
|

Re: Add global web.xml to simplify session timeout configuration

Nicolas Malin-2
Hi Xin,

I took a look and I aggre with you change.

Feel free for each to surcharge the value on custom plugins.

Cheers,

Nicolas

On 15/06/2021 16:53, Xin Wang wrote:

> Hi all,
>
> Currently, session timeout is configured in apps separately, in their per-app web.xml. But as we share session globally, the app which has smallest session timeout will take effect.
>
> Then it is both inconvenient and confusing when trying to alter session timeout value, as values in all web.xml of apps need to be updated.
>
> I think a global web.xml is needed to simplify session timeout configuration.
>
> I have proposed a patch in Jira [1], any comments and suggestions are welcome.
>
> Regards,
>
> Xin Wang
>
> [1] https://issues.apache.org/jira/browse/OFBIZ-12255
>