Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Call user.getLoggedIn periodicly #21

Open
ThatOneGuyFromThatOneShow opened this issue Apr 13, 2019 · 1 comment
Open

Call user.getLoggedIn periodicly #21

ThatOneGuyFromThatOneShow opened this issue Apr 13, 2019 · 1 comment

Comments

@ThatOneGuyFromThatOneShow
Copy link
Collaborator

Call user.getLoggedIn periodicly. If not logged in redirect to login page.

@ThatOneGuyFromThatOneShow
Copy link
Collaborator Author

With setting the heartbeat of the servers to 5 seconds, and calling getLoggedIn on pause, calling periodically might not be needed. More testing is needed. The main issue is if the log in cookie expires while offline. For the most part it's a non issue but it could cause massive issues with syncing, especially if the server settings have a short cookie expiration (default for couchdb) and the user is going offline periodically.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant