cancel
Showing results for 
Search instead for 
Did you mean: 

portal session timeout judge

Former Member
0 Kudos

Hi everybody,

I have a question about portal session timeout. Now we have a javascript for session timeout in Masthead iview, which can increase the time for the active user. It uses EPCM to rase the event. But our page has four iveiws, and there is a iview form that use the javascript to submit the request, and don't refresh the whole page, so it can't call our session timeout javascript to increase the time.

Whether we can call the javascript from other iviews? Or do we have other ways to do the session timeout judge and increase the time by user's activity in sap portal ?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try to subscribe to EPCM events on all navigations in your code, which will in turn update the timer

EPCM.subscribeEvent("urn:com.sapportals:navigation", "Navigate", pop);

EPCM.subscribeEvent("urn:com.foo.bar.myapp", "myEvent", pop);

You can also call the update timer method (in masthead) from your I view form code using AJAX, which will be more simpler.

Regards,

Santhosh