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
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.
ResponseCookies.Appendand theCookieOptionsclass both use a default path of"/"but the single-parameter version ofResponseCookies.Deletedoes 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.