Forum Moderators: open

Message Too Old, No Replies

problem with domains and cookies

         

scorpion

2:04 am on Dec 12, 2002 (gmt 0)

10+ Year Member



I can't seem to set a cookie in javascript such that it will be accessible for domains (abc.com and www.abc.com) anybody know how to do this? I tried to set the cookie's domain to (".abc.com") but it doesn't work...

jdMorgan

2:28 am on Dec 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



scorpion,

Pick one standard domain name and stick with it. This post [webmasterworld.com] provides an easy solution to your problem, although it's likely not what you were thinking about. Using this method, you only have to worry about setting/checking cookies in one domain.

Jim