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.

ie11win7

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

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

nginx - phpPgAdmin - log in works but I have to login again after clicking on any links -