Answer the question
In order to leave comments, you need to log in
Chrome and IE9 don't see subdomain cookies
There are 2 sites:
s1.site.ru
s2.site.ru
i.e. they have the same domain. The site s1.site.ru creates 2 cookies, for the cookie we indicate the domain = "site.ru", the first for the session, the second with a lifespan of 1 year.
Being on any other site, having a picture from the site s1.site.ru on the page (to initialize the cookies), we send some POST data with a request to the site s2.site.ru
In the browser on the site s2.site.ru I can read both cookies created by the site s1.site.ru
In chrome, I can only read cookies created for the session, and the second, for a period of a year, does not see.
IE9 does not see any cookies at all.
Has anyone encountered such a problem and how did you solve it?
Answer the question
In order to leave comments, you need to log in
IE will most likely be saved by passing such a
P3P spell to the header: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
Not much helps with safari, it has a completely paranoid mode - it is on by default and hard to turn off :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question