-
Notifications
You must be signed in to change notification settings - Fork 8
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
Value cannot be null. stringToEscape #3
Comments
Hi, I'm getting exactly the same error. Do you find any solution for it? |
Currently trying to reproduce it... what version of Asp.NET Core are you on? |
Hi, |
I found what is a problem and I have solution. |
You were right... startup should contain only configuration options and not calculated ones. Moved the other into the middleware and should now be working! Thanks for your feedback! |
I think you should add this code between 84 and 85 line. Now, every request calculate new expire date. |
Sliding expiration is enabled by default, but you can disable it by using CookieOptions! |
Hello,
I'm getting this error:
This error occurs after the number of second I set up in AnonymousIdCookieOptionsBuilder -> SetCustomCookieTimeout
It looks like the code in AnonymousIdMiddleware on lines 86-98 doesn't work properly (maybe something wrong with bool SlidingExpiration value ) and can't attach a new cookie.
The text was updated successfully, but these errors were encountered: