Hi:
Anyone know if session only cookies are sensitive to the directory path in which they're called? I was under the impression it was only for persistent cookies. For example, lets say I call the statement:
on the root path of my site http://www.javascriptkit.com. Is that cookie now also accessible on the page http://www.javascriptkit.com/subdir?
Someone suggested to me recently I had to use:
in order for a session only cookie to be accessible anywhere within a site, and I thought I'd seek some clarification on this.
Thanks,
Anyone know if session only cookies are sensitive to the directory path in which they're called? I was under the impression it was only for persistent cookies. For example, lets say I call the statement:
Code:
document.cookie="popup=yes"
Someone suggested to me recently I had to use:
Code:
document.cookie="popunder=yes;path=/"
Thanks,
Comment