javascript - duplicate cookies for same domain -


i'm having problem set/overwrite cookie see 2 of them. 1 has dot before domain "www.sim..." i'm setting cookie using javascript using toggle

document.cookie = "night_mode=" + value + expires + "; path=/";

and value changes 0 1.

any idea how can fix this? i've tried enter image description here


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -