http://localhost/(v4lxpk45wqxqis3gxst50e45)/index.aspx
调试程序时也没什么问题,就是地址里莫名其妙出来这么一堆字符。
这是怎么回事?怎么解决去掉这个东西?

解决方案 »

  1.   

    是因为你打开了session的cookieless。
    修改方法:
    打开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" 
        />
    看看cookieless的值是不是false,如果不是的话改过来。