javascript - Set cookie's secure flag in IE11 (client-side) -
as seen in screenshot, setting in dev console ignores flag.
document.cookie="test=that;secure"
adding domain or path not seems either. (another answer saying made work)
this works flawlessly in chrome, firefox , safari.
i'm not sure see point in setting secure flag locally if possible. cookie flag should set web application or webserver running in front of application.
Comments
Post a Comment