Skip to Content
avatar image
Former Member

SAP UI5 session timedout

Hi

We have custom UI5 application developed and integrated in SAP Portal.

As per the requirement we have to show "Session expire message" if user is inactive or idle for certain time around 5 or 10 mins time period.

How to achieve this with minimal code changes?

What are possible approaches for this requirement

I have searched didn't find concrete information on this.

Please provide your inputs on this.

Thanks

CW

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Jan 05, 2017 at 03:29 AM

    Hi

    Any inputs on this? Please help.

    Thanks

    Sridhar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 06, 2017 at 03:16 AM

    How about create a new portal application and set the timeout in the portal app. Setup a portal page with 2 iView (UI5 and the time out app) and point your access link to this new page. With this you will be able to achieve the timeout without changes in the UI5 application. Of course if there are other limitations you can just apply this code in your UI5 app.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 01, 2017 at 10:58 AM

    You can use jQuery IdleTimer / jQuery IdleTimeout js for solving this issue.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 01, 2017 at 12:16 PM
    Add comment
    10|10000 characters needed characters exceeded