Session lost when using hostname instead of IP address (IE)

前端 未结 4 1937
故里飘歌
故里飘歌 2021-01-21 19:37

I\'m learning asp.net mvc 2, it\'s very excting with me.

I has built a small MVC2 application, it is working fine in built it ASP.net Development Server. However, there

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-21 20:22

    As per http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names:

    The Internet standards (Request for Comments) for protocols mandate that component hostname labels may contain only the ASCII letters 'a' through 'z' (in a case-insensitive manner), the digits '0' through '9', and the hyphen ('-'). No other symbols, punctuation characters, or white space are permitted.

    Underscores in hostnames cause a number of strange, inconsistent problems, including problems sending mail, sql replication not working in unexpected ways, and most RDP connections failing.

提交回复
热议问题