Currently, when the session expires after 60 minutes, the user is brought to login page for token refresh. This will cause any items in the upload queue to be lost!
I need to do two things to prevent this problem:
1 - Prompt the user that their sessions has expired
2 - Use a popup instead of a LoginPage navigation.
Further consideration:
Maybe I should move away from a "login page" entirely and use a CustomDialog for login instead. This will always leave the user on their current page, however I'll also need to implement a custom event/event handler to trigger refresh when the dialog closes.
Currently, when the session expires after 60 minutes, the user is brought to login page for token refresh. This will cause any items in the upload queue to be lost!
I need to do two things to prevent this problem:
1 - Prompt the user that their sessions has expired 2 - Use a popup instead of a LoginPage navigation.
Further consideration:
Maybe I should move away from a "login page" entirely and use a CustomDialog for login instead. This will always leave the user on their current page, however I'll also need to implement a custom event/event handler to trigger refresh when the dialog closes.