If you set a cookie by using Python, you must specify the path to "/", which means it is valid for the entire site. The default path is "/cgi-bin/".
For example:
In Python:
cookie["SID"]["path"] = "/"
In Javascript,
document.cookie can read this one.
No comments:
Post a Comment