we got around this problem by putting all of the domains through NGINX and 
setting the rewrite headers to rewrite the cookie to all domains that NGINX 
routes to. This way, you don't have to do anything extra to get the cookie to 
be read on domains that didn't set the cookie.

-- 
Anatoly Geyfman
http://www.geyfman.net


On Thursday, August 25, 2011 at 8:46 PM, Varun Aggarwal wrote:

> Hi All 
> I am stuck on this weird problem and cant find what is the issue. I have 
> already posted this problem on many forums but no one has replied. Here is my 
> problem
> 
> 
>  I am having problem with setting up the cookies on IE9 for certain users. I 
> am setting up the cookie on on the parent domain with ".mysite.com 
> (http://mysite.com)" on x.mysite.com (http://x.mysite.com), I am expecting it 
> to be read from y.mysite.com (http://y.mysite.com). The problem is on all the 
> browsers it works but IE9 on certain machines it never works. I tried setting 
> up our staging machines and it worked perfectly but somehow in production it 
> breaks for some users.
> 
> 
>  We have a hybrid environment where the cookie is set up by the .net 
> environment(x.mysite.com (http://x.mysite.com)) and the java 
> environment(y.mysite.com (http://y.mysite.com)), we are using persistent 
> storage for saving the session between different environments.
> 
> 
>  I have tried debugging the problem I do see the cookie is set from 
> x.mysite.com (http://x.mysite.com) but never sent from the browser for 
> y.mysite.com (http://y.mysite.com).
> 
> 
>  The cookie name is prefixed with "www" eg. "wwwXYZ" Doesnt seem like a 
> server issue, but something how IE is handling it, Am i doing something wrong 
> or others too having the same issue.
> 
> 
>  Please let me know if you need more info on this issue.
> 
> 
>  Varun
> 
> 
> 
>  -- 
>  To view archived discussions from the original JSMentors Mailman list: 
> http://www.mail-archive.com/[email protected]/
> 
>  To search via a non-Google archive, visit here: 
> http://www.mail-archive.com/[email protected]/
> 
>  To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[email protected])

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to