I tried with that too. It seems more like a bug with certain versions of IE9 on specific machines. I am still stuck on it and investigating.
Varun On Mon, Aug 29, 2011 at 11:04 PM, Alexandre Louis Marc Morgaut < [email protected]> wrote: > Hi, > > Did you set the domain parameter of the cookie to "mysite.com" ? > > From iPhone > > Le 30 août 2011 à 03:08, Varun Aggarwal <[email protected]> a écrit : > > Hi Antony, > > Thanks for clarifying. But with my original question i want to have access > to all the subdomains of a parent domain. > not different domains at all. > > " I am setting up the cookie on on the parent domain with > ".<http://mysite.com/> > mysite.com" on <http://x.mysite.com/>x.mysite.com," > > In IE9 (only some machines) it doesnt seem to work. We want to have support > for all the subdomains when the cookie is set up on the parent domain. > Let me know if i missed something. > > Thanks for the help. > Varun > > > On Mon, Aug 29, 2011 at 5:42 PM, Anatoly Geyfman < <[email protected]> > [email protected]> wrote: > >> you set it for domain, not the subdomain, and then the subdomain has >> access to it. >> >> >> <http://serverfault.com/questions/153409/can-subdomain-example-com-set-a-cookie-that-can-be-read-by-example-com> >> http://serverfault.com/questions/153409/can-subdomain-example-com-set-a-cookie-that-can-be-read-by-example-com >> >> essentially what you're looking for, at least as far as I understand it. >> >> Anatoly >> >> >> On Mon, Aug 29, 2011 at 2:32 PM, Varun Aggarwal < <[email protected]> >> [email protected]> wrote: >> >>> Hi Antony, >>> >>> How did you get that cookie set up for different domains. I see the >>> cookie gets set only for the last subdomain in the list. Not sure if that is >>> possible. Sorry if that sounds stupid but can you set the same cookie(key) >>> set up for different subdomains? >>> >>> Varun >>> >>> >>> On Thu, Aug 25, 2011 at 8:53 PM, Anatoly Geyfman < <[email protected]> >>> [email protected]> wrote: >>> >>>> 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>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 >>>> ".<http://mysite.com> >>>> mysite.com" on <http://x.mysite.com>x.mysite.com, I am expecting it to >>>> be read from <http://y.mysite.com>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( <http://x.mysite.com>x.mysite.com) and the java >>>> environment( <http://y.mysite.com>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 >>>> <http://x.mysite.com>x.mysite.com but never sent from the browser for >>>> <http://y.mysite.com>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]/> >>>> http://www.mail-archive.com/[email protected]/ >>>> >>>> To search via a non-Google archive, visit here: >>>> <http://www.mail-archive.com/[email protected]/> >>>> http://www.mail-archive.com/[email protected]/ >>>> >>>> To unsubscribe from this group, send email to >>>> <[email protected]> >>>> [email protected] >>>> >>>> >>>> -- >>>> To view archived discussions from the original JSMentors Mailman list: >>>> <http://www.mail-archive.com/[email protected]/> >>>> http://www.mail-archive.com/[email protected]/ >>>> >>>> To search via a non-Google archive, visit here: >>>> <http://www.mail-archive.com/[email protected]/> >>>> http://www.mail-archive.com/[email protected]/ >>>> >>>> To unsubscribe from this group, send email to >>>> <jsmentors%[email protected]> >>>> [email protected] >>>> >>> >>> >>> >>> -- >>> Varun Aggarwal >>> >>> -- >>> To view archived discussions from the original JSMentors Mailman list: >>> <http://www.mail-archive.com/[email protected]/> >>> http://www.mail-archive.com/[email protected]/ >>> >>> To search via a non-Google archive, visit here: >>> <http://www.mail-archive.com/[email protected]/> >>> http://www.mail-archive.com/[email protected]/ >>> >>> To unsubscribe from this group, send email to >>> <jsmentors%[email protected]> >>> [email protected] >>> >> >> -- >> To view archived discussions from the original JSMentors Mailman list: >> <http://www.mail-archive.com/[email protected]/> >> http://www.mail-archive.com/[email protected]/ >> >> To search via a non-Google archive, visit here: >> <http://www.mail-archive.com/[email protected]/> >> http://www.mail-archive.com/[email protected]/ >> >> To unsubscribe from this group, send email to >> <jsmentors%[email protected]> >> [email protected] >> > > > > -- > Varun Aggarwal > > -- > To view archived discussions from the original JSMentors Mailman list: > <http://www.mail-archive.com/[email protected]/> > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > <http://www.mail-archive.com/[email protected]/> > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > <[email protected]> > [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] > -- Varun Aggarwal -- 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]
