我在本地建了一个web应用程序,虚拟目录名为Test。刚开始访问默认页的网址是:http://localhost/Test/Default.aspx。后来我在输入这个地址后就自动变成http://localhost/Test/(3eorrt3bq22bnuievwh255mb))/Default.aspx。中间的那个字符串每次重新连接后都不一样。此前我改过IIS设置,但是不明白具体是什么原因导致这样。请高手指教!!!
为什么在网址里会出现乱七八糟的SessionId?(原创)
http://blog.csdn.net/kgdiwss/archive/2005/06/23/401238.aspx
没遇到过这情况
修改web.config
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false" //这里
timeout="20"
/>