<span style= "font-family:arial, Helvetica, Sans-serif; Background-color:rgb (255, 255, 255); " > See test First. A very straightforward phenomenon </span>
Local machine to build a Web service, index.html is the following:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 strict//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >< HTML xmlns= "http://www.w3.org/1999/xhtml" >
Open c:/windows/systems/drivers/etc/hosts
Join two sets of correspondence relationship
127.0.0.1 a-b.oa.com
127.0.0.1 a_b.oa.com
Open With IE
A-b.oa.com and A_b.oa.com
You will see that a_b.oa.com cannot save the cookie phenomenon,
and a-b.oa.com is normal.
Using Chrome Two is OK. That is, chrome is not affected by the line;
See
Some people say that IE is in accordance with the LDH rules, is not allowed _ line, can only use English, numerals, in the dash;
Http://tools.ietf.org/html/rfc3696#section-2
Internet Explorer cannot save cookies and has a problem with the domain name containing an underscore (_)