调试我的asp.net网站在url中有一些未知的文本

时间:2014-05-29 09:12:47

标签: c# asp.net string url localhost

在我的asp.net网站项目中,我运行/Functions/Profile/Pages/MySetting.aspx 我的代码完美无缺,但网址变为了 http://localhost:51479/%28S%28xfqh4f0sufiuznzp1cyxir5s%29%29/Functions/Profile/Pages/MySetting.aspx
 而不是 http://localhost:51479/Functions/Profile/Pages/MySetting.aspx
我的项目有什么问题?
谢谢!

1 个答案:

答案 0 :(得分:3)

您正在使用cookieless个会话。在web.config中更改此行:

<sessionState mode="InProc" cookieless="true" timeout="3000"></sessionState>

到此:

<sessionState mode="InProc" cookieless="false" timeout="3000"></sessionState>
相关问题