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
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