LanceMcCarthy / MvpApi

An application for Microsoft MVPs to easily browse and upload contributions
MIT License
36 stars 10 forks source link

Persist any incomplete queue items when session expires #42

Closed LanceMcCarthy closed 6 years ago

LanceMcCarthy commented 6 years ago

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.