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

Suprising behavior in EncryptedCookieStorage #14

Open
Havunen opened this issue Feb 21, 2024 · 0 comments
Open

Suprising behavior in EncryptedCookieStorage #14

Havunen opened this issue Feb 21, 2024 · 0 comments

Comments

@Havunen
Copy link

Havunen commented Feb 21, 2024

Suprising behavior in EncryptedCookieStorage

It seems the EncryptedCookieStorage type always reads the cookie from the network request object while setting the cookie goes to response object.

Could this behavior be altered so that response object is always checked first , if the backend service has already set new cookie information and reads it back during the same routine, it finds the already updated object instead of the old one.

https://github.com/Innofactor/Innofactor.SuomiFiIdentificationClient/blob/master/Innofactor.SuomiFiIdentificationClient/Support/EncryptedCookieStorage.cs#L28-L46

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

1 participant