You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
This can be a confusing road bump when you have set a cookie with a simple call like Response.Cookies.Append("EditSuccess", string.Empty) and then later try to delete it with Response.Cookies.Delete("EditSuccess"), because some browsers (namely Chrome) will not remove the cookie since it does not have a matching path specified.
The text was updated successfully, but these errors were encountered:
ResponseCookies.Append
and theCookieOptions
class both use a default path of"/"
but the single-parameter version ofResponseCookies.Delete
does not.This can be a confusing road bump when you have set a cookie with a simple call like
Response.Cookies.Append("EditSuccess", string.Empty)
and then later try to delete it withResponse.Cookies.Delete("EditSuccess")
, because some browsers (namely Chrome) will not remove the cookie since it does not have a matching path specified.The text was updated successfully, but these errors were encountered: