spicymango
Programmer
I have a domain istraders.com. I set the cookie in the index.html file.
As you see I do not define name of the domain in my cookie code.
So by default it sets the cookie under domain istraders.com.
Now suppose I get redirected to subdomain which is like
Now from this domain can I read the cookie which I set it up for istraders.com?
Code:
document.cookie = cookieName+"="+escape(cookieValue)
+ ";expires="+expire.toGMTString();
As you see I do not define name of the domain in my cookie code.
So by default it sets the cookie under domain istraders.com.
Now suppose I get redirected to subdomain which is like
Now from this domain can I read the cookie which I set it up for istraders.com?