On 05/11/25 14:16, Timo Schmidt wrote:
Hi,

On Mi 05.11.2025 10:47, Francesco Chicchiriccò wrote:
I've been researching the web for this topic for a while now,
and I would like to get some confirmation (or hint, maybe)
from the community.

I have an AuthenticatedWebApplication with custom login page;
once servlet session times out, any click will bring back the
login page.

So far, so good.

I would just like to add a message for the user like as
"sorry, your session has timed out. please log in again" on
the login page itself, on a blank page with a link to the
login page - whatever.

Is there any recipe out there to obtain this?
in your Application init() method:

getApplicationSettings().setPageExpiredErrorPage(YourPageExpiredErrorPage.class);

Tried already, not worked.

This is for page expired, not session timeout.

Regards.

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA
https://about.me/ilgrosso


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to