Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to redirect to same page with session.timeout.redirectUrl
Using liferay 6.1How can I redirect the logged-in user to the "current page(same page)" on the session timeout?Settings in my portal-ext session.timeout.redirect.on.expire=true
session.timeout.redirectUrl=/web/guest/home
Any idea on how to set this session.timeout.redirectUrl so that it redirects to the current page?
session.timeout.redirectUrl=/web/guest/home
Any idea on how to set this session.timeout.redirectUrl so that it redirects to the current page?
Hi ,
You can try writing a custom action for Session Destroy and redirect to your custom url, you can refer below links.
https://help.liferay.com/hc/en-us/articles/360018181131-Performing-a-Custom-Action-Using-a-Hook
https://liferayiseasy.blogspot.com/2015/04/custom-action-hook-in-liferay.html
You can try writing a custom action for Session Destroy and redirect to your custom url, you can refer below links.
https://help.liferay.com/hc/en-us/articles/360018181131-Performing-a-Custom-Action-Using-a-Hook
https://liferayiseasy.blogspot.com/2015/04/custom-action-hook-in-liferay.html