How to handle 401 due to inactivity or user logs out from other window

1
0
-1

Hello

We have simple application page with custom widget that uses typeahead with http to fetch data. Everything works great as long as session is valid. However typeahead stops showing results (as expected) after 401 but UI remains same.

Browser source changes html page back to login form after 401 but doesn't refresh on its own. As a result user is not informed about invalid session.

Any suggestions how to handle this issue.

Regards
KB
Bav Systems

No answers yet.
Notifications