cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Session expire

Former Member
0 Kudos
549

My requirement is to redirect to sign-in if session expires in Hyrbris 6.6. How can this be achieved ? Any details about this is appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Pavan,

For hybris elements this functionality is provided OOTB. For any custom additions you can add @RequireHardLogin on controller methods. When method with this annotation is called, if there is no session the user will be redirected to the login page.

You can set the session timeout in properties file like described here (default being 1 hour): https://help.hybris.com/6.6.0/hcd/8c005cde86691014a49ce1de22f3897f.html

Hope this helps and Best Regards,

Former Member
0 Kudos

Thank me try.