Allow to pass in CookieOptions
when setting cookie
#14221
bjarnef
started this conversation in
Features and ideas
Replies: 1 comment 1 reply
-
I don't like the idea of our interface exposing the I see three possible directions:
Personally I like 1) and 3) the most. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Looking at the cookie managers in Umbraco core, it seems it isn't possible to pass in
CookieOptions
?E.g.
SetCookieValue()
inAspNetCoreCookieManager
:Umbraco-CMS/src/Umbraco.Web.Common/AspNetCore/AspNetCoreCookieManager.cs
Line 31 in dfde679
or if injecting
ICookieManager
:Umbraco-CMS/src/Umbraco.Core/Web/ICookieManager.cs
Line 9 in dfde679
Should it has an overload method of optional parameter to pass in
CookieOptions
?Beta Was this translation helpful? Give feedback.
All reactions