Re[7]: Forms Authentication :(
От: Dronkoff Россия  
Дата: 22.09.04 06:53
Оценка: 49 (3)
Здравствуйте, k_2, Вы писали:
k_2>Смена оси не помогла, а изменение имени компьютера сработало
Вот где, блин, собака порылась!
Получается что IE либо не сохраняет, либо не передает куки, полученные от серверов, в названиях которых есть символ подчеркивания.
Интересно, это фича или бага?
В RFC 1738 (Uniform Resource Locators) сказано:

host
The fully qualified domain name of a network host, or its IP
address as a set of four decimal digit groups separated by
".". Fully qualified domain names take the form as described
in Section 3.5 of RFC 1034 [13] and Section 2.1 of RFC 1123
[5]: a sequence of domain labels separated by ".", each domain
label starting and ending with an alphanumerical character and
possibly also containing "-" characters. The rightmost domain
label will never start with a digit, though, which
syntactically distinguishes all domain names from the IP
addresses.

А в RFC 1034(Domain Concepts and Facilities):

<domain> ::= <subdomain> | " "
<subdomain> ::= <label> | <subdomain> "." <label>
<label> ::= <letter> [ [ <ldh-str> ] <let-dig> ]
<ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str>
<let-dig-hyp> ::= <let-dig> | "-"
<let-dig> ::= <letter> | <digit>

<letter> ::= any one of the 52 alphabetic characters A through Z in
upper case and a through z in lower case
<digit> ::= any one of the ten digits 0 through 9

The labels must follow the rules for ARPANET host names. They must
start with a letter, end with a letter or digit, and have as interior
characters only letters, digits, and hyphen. There are also some
restrictions on the length. Labels must be 63 characters or less.

Т.е. имя хоста может состоять только из цифр, букв и тире.
В принципе, IE емеет полное право глючить если имя хоста не удовлетворяет стандартам. Только делает он это каким-то странным образом — втихаря угнетая бедные куки...
В общем, такое поведение надо просто помнить. И всегда давать компьютеру правильное название, дабы избежать странных глюков в последствии.
k_2>спасибо
Как говорит один мой знакомый: "Есть за что"
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.