S
Simon Wigzell
I have discovered that saved cookie only apply to pages loaded from the
directory in which they are set. That is, if you set a cookie from a page in
your website domain root directory then load a webpage from a directory
below the root then that page will not understand the cookie. And vice
versa - if you set a cookie in a webpage in a sub directory of the root then
it won't be understoon by pages in the root. This is in IE anyway, I have
not tried other browsers.
This is a real pain! The way my website works, I have dynamic asp pages run
from the domain root directory and static html pages run from sub
directories. In this particular case I am allowing the user to set a cookie
determining the language to use, English, German or French and I find that
my pages in the sub directories are not getting the current language value.
Any ideas?
directory in which they are set. That is, if you set a cookie from a page in
your website domain root directory then load a webpage from a directory
below the root then that page will not understand the cookie. And vice
versa - if you set a cookie in a webpage in a sub directory of the root then
it won't be understoon by pages in the root. This is in IE anyway, I have
not tried other browsers.
This is a real pain! The way my website works, I have dynamic asp pages run
from the domain root directory and static html pages run from sub
directories. In this particular case I am allowing the user to set a cookie
determining the language to use, English, German or French and I find that
my pages in the sub directories are not getting the current language value.
Any ideas?