Forum Post: OpenEdge Mobile login timeout and intercept JSDO request

  • Thread starter Thread starter spserna2
  • Start date Start date
Status
Not open for further replies.
S

spserna2

Guest
Hi all, my app is currently using the form authentication provided by the default session login of the Mobile App Builder. So, the session will be timed out after the app idle for some time and all subsequent JSDO request will be unauthorized. What is the best way to handle the login session between the app and the server? 1. Intercept the JSDO request to investigate the XHR for 404 respond , then redirect user back to the login screen 2. Keep the session alive by server side configuration Is it possible to intercept the JSDO request respond at global level rather than handle it at the onerror event in every request?

Continue reading...
 
Status
Not open for further replies.
Back
Top