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

前端 未结 4 1968
故里飘歌
故里飘歌 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:27

    @khoailang

    I had the same problem and figured out the issue with IE occurs when you use a machine name with underscore in its name.

    eg. machine_01/app/Default.aspx => Session Lost!

    while 10.100.0.1/app.Default.aspx works where 10.100.0.1 is the IP for machine_01.

    Any idea why this happens?

提交回复
热议问题