This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

subdomain cookie not being created on firefox versions 3.6.11 and later

  • 1 antwoord
  • 11 hierdie probleem
  • 1 view
  • Laaste antwoord deur cor-el

more options

I have a website with a subdomain:

test1.k12.hi.us

and I am setting a cookie so that it can be accessed by subdomain:

test2.k12.hi.us

My code works on all modern versions of IE, Chrome, Safari and Firefox versions prior to 3.6.11. However, the cookie doesn't seem to get set properly in Firefox 3.6.11, 3.6.12 and the 4.0 beta with the same code.

I am setting a session-lived cookie and specifying the domain as ".k12.hi.us". If I set the cookie domain as either "test1.k12.hi.us", "test2.k12.hi.us", the cookies are set but the cookies can't be shared between the subdomains. I would like to set the domain as ".k12.hi.us" so that I can't share the cookies between the two subdomains. Is there a bug in the Firefox 3.6.11 and later versions that prevents cookies being set properly in this manner? Your help would be appreciated. Thanks.

I have a website with a subdomain: test1.k12.hi.us and I am setting a cookie so that it can be accessed by subdomain: test2.k12.hi.us My code works on all modern versions of IE, Chrome, Safari and Firefox versions prior to 3.6.11. However, the cookie doesn't seem to get set properly in Firefox 3.6.11, 3.6.12 and the 4.0 beta with the same code. I am setting a session-lived cookie and specifying the domain as ".k12.hi.us". If I set the cookie domain as either "test1.k12.hi.us", "test2.k12.hi.us", the cookies are set but the cookies can't be shared between the subdomains. I would like to set the domain as ".k12.hi.us" so that I can't share the cookies between the two subdomains. Is there a bug in the Firefox 3.6.11 and later versions that prevents cookies being set properly in this manner? Your help would be appreciated. Thanks.

Gewysig op deur hyenasjungle

All Replies (1)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25