Redirect the user to login page after session has expired

Hello,

I have a question regarding redirecting the user to the login page after his session has expired.

Use case:

It would be more user friendly to redirect the user to the login page after his session has expired.

Problem:

The end user gets a notification that his session has expired and he needs to manually refresh the page. Is it possible to redirect the user to the login page and display a different error for example "Your session has expired. Please log in again.".

Version:

One Identity Manager 9.2.1.

Thank you,

Zan