Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session file invalid #85

Open
yunzhiyan opened this issue Apr 13, 2022 · 1 comment
Open

Session file invalid #85

yunzhiyan opened this issue Apr 13, 2022 · 1 comment

Comments

@yunzhiyan
Copy link

When my session file fails, how can I judge it and retrieve authentication?

@ilyalatt
Copy link
Owner

The default session store overwrites the session file using a backup. So the session should not be corrupted. It can be staled however. One example is low SeqNo. The client attempts to repeat a request a few times incrementing SeqNo. Usually it is enough.
Serialization logic can be found here. It can be changed in the future.

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

No branches or pull requests

2 participants