I have the following directory tree:
+ folder1
|--- folder2
|------ page1.html
|--- page2.html
If I set some cookie in page1.html
using JavaScript, what is the path used for that cookie?
Edit:
Let me explain it better. I'm working with a local file. page1.html
is being accessed through /home/user/.../folder1/folder2/page1.html
and not through a client machine using a HTTP Server.
Just to clarify:
It seems that some browsers (like Chrome) do not store cookies when using file:///
, but both Firefox and Internet Explorer do.