Force set cookie if exception occurs when getting cookie - #8
Conversation
|
@swing7wing Thanks for the PR |
|
Specifically the unblocking of the previous cookie content. But this pull request won't specifically fix this problem. This will just force set the value if it can't retrieve the previous cookie value. I assume the expected behavior is to use the value that's being given as parameter in the GetOrSet function (Func acquirer) when it can't retrieve a value in the Get function. |
|
Any update about this pull request? Would be great to have this feature in our project. Because this is something we currently have to handle ourselves in the project. |
|
Hi, any update about this pull request? Would be nice to have included in this project. |
Sometimes I get an exception when I want to get a Cookie.
But while using the GetOrSet method, this shouldn't happen.
If the get request fails, the method should set the cookie with the given value (aquirer).
Please provide feedback if this is not the expected behavior.