- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Managing user sessions in SAP UI5 application
You can make use of setTimeout and clearTimeOut functions. In order to trace the activity of the user, you can either make use of mouse move event or key press event or even both.
Example
You can reset the timer on the occurrence of either of the two events.
document.onmousemove = timeOut; document.onkeypress = timeOut; function timeOut () { clearTimeout(<threshold value>); setTimeout(sessionTimeout, <interval>); }
- Related Articles
- Binding model to sap.ui.core in SAP UI5 application
- Reading an image using SAP OData v2 in UI5 application
- SAP UI5 application throws an error while using Tree map
- OData or Java Services to be consumed by SAP UI5 application
- I have SAP UI5 application that I am not able to start after adding to SAP Fiori Launchpad.
- Loading External Libraries in SAP UI5
- Sorting List in SAP UI5 project
- Managing password policy in SAP HANA system
- Binding OData service to SAP UI5 table
- Managing cross database container access in SAP HANA
- How to remove connected remote desktop user sessions using PowerShell?
- How to place UI5 code in SAP NetWeaver Server?
- Sending a table from UI5 application to ABAP Function Module
- In SAP UI5 render calling two times in custom control
- Get access or point to SAP UI5 control

Advertisements