I'm receiving from server such cookie:
SID=vDAqgF4KMKFvZmc1t6NevC7WgLe1cKssufK2OdwwSKKdK9ptkBDS2TNKeMYp472e; expires=Sun, 31 Jan 2100 22:00:00 GMT; Path=/; Domain=localhost; HttpOnly
I cannot set it into document.cookie
.
I've tried different ways to fix it, like replacing localhost
on 127.0.0.1
or removing HttpOnly
flag, but it didn't help.