Jay_Menna
(Jay Menna)
February 12, 2014, 2:52am
1
Quick reality check here. Could someone confirm.
Cookies are limited to the HOST. In other words forum.xojo.com will have one cookie but documentation.xojo.com uses a separate cookie.
Is it not possible to read the cookie of another domain.
It is not possible to read the cookie of another host even if it is the same domain.
Do I have this correct?
You can set a cookie as “.yoursitename.com” and it will be available to subdomains of that domain. If you specify the full name like “forum.yoursitename.com ”, it will only be available there.
Jay_Menna
(Jay Menna)
February 12, 2014, 3:19am
3
So I can set the cookie with:
Session.Cookies.set ("CookieName",myCookieValue,d,".xojo.com")
And read it from any xojo.com host with
Session.Cookies.Value("CookieName")
?