Uncaught Error: SECURITY_ERR: DOM Exception 18 when I try to set a cookie

You’re most likely using this on a local file over the file:// URI scheme, which cannot have cookies set. Put it on a local server so you can use http://localhost.

Leave a Comment