ibm mobilefirst - How to display user a message on session timeout -


i'm implementing adapter base authentication , trying session timeout functionality have updated "worklight.properties"and session timeout working.

so whenever there session time out or user clicks logout logout function called in customloginmodule. works expected there way can find in logout methods why method invoked mean user clicked logout vs session time out. , how can pass info client side.

we have requirement display user message on session time out.

mobilefirst 7.1

there no method provided ibm mobilefirst differentiate between logout made user action (clicking "logout") logout happened due timeout. custom functionality need implement on own.

if user clicks on "logout", store action boolean flag , display appropriate action.

based on value of flag, can decide message display in case of session timeout.


Comments