Hi All,

Currently WSO2 EMM front end use both ajax and server side calls to talk to
the server backend.
The session is handled in a middle layer (API layer) between backend and
the front end.

If the user has opened the page for long time without an action, the
session expires.

After the session expire, and user try to perform an ajax action, it
creates issues in the backend.

Proposed solution:
After session expire, the API layer sends an Unauthorised response to the
front end. Front end will redirect the user to the login screen based on
the response.


Do you have any suggestions?



-- 
Regards,

Chatura Dilan Perera
*(Senior Software Engineer** - WSO2 Inc.* * [Mobile])*
www.dilan.me
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to