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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -