Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

subdomain cookie not being created on firefox versions 3.6.11 and later

  • 1 èsì
  • 11 ní àwọn ìṣòro yìí
  • 11 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ 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.

Ti ṣàtúnṣe nípa 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