サイト名とCookieの下線

今日、興味深い問題に直面しました。これは、1.5時間の貴重な時間を大胆に消費しました。 うまくいけば、他の人が同じ運命を避けるのを助けます。 :-)



1)ドメイン/サブドメイン名のアンダースコア文字_は使用できません 。これは間違ったアドレスであり、ほとんどのDNS-sではこのようなエントリを作成できません。 成功しました。 :-)

2)IEは通常このようなサイトにアクセスしますが、 Cookieは送信しません 。 FFになります。 この事実の調査には常に時間がかかりました。 この問題は、_なしで別のサブドメインを登録することで解決しました:-)



IE0005: By-design. Setting cookies fails when the hostname of the server contains an underscore.



This happens because the machine name contains an underscore, technically prohibited by DNS rules (LetterDigitsHyphen) and hence blocked. This issue is mostly relevant for Intranet sites; most DNS systems will prohibit use of underscores in hostnames due to the LDH rule. See support.microsoft.com/kb/909264 for more info.







All Articles