HOWTO handle portal user idle timeout
Author: Arnaud Leymet
Submitted: 09 May 2008
The question has been asked many times. Some solutions came out in the forums, but a few matched correctly the problem.
Simply edit the banner par file (com.sap.portal.navigation.masthead.par.bak) by applying the following :
- Edit the file PORTAL-INF/jsp/HeaderiView.jsp in order to call the timeout handler.
Do not forget
Remove all 'REMOVEME' occurrences in these two files (I had troubles publishing this page on the wiki)!
Don't forget to change the 'par_file_name' string in the latter file and remove all 'REMOVEME' occurrences in these two files (I had troubles publishing this page on the wiki).
This solution has some limitations.
Among them, the most embarassing one is the fact that the timeout timer is only reseted by subscribed events.
Unchanged, it only resets the timer on navigation changes:
If you want to add events for resetting the timer, you'll have to add this type of lines:
After being idle on the portal for some time, you shoud obtain a popup like the following:
Hope you'll find it usable!