C# 调试我的asp.net网站的url中有一些未知文本
在我的asp.net网站项目中,我运行C# 调试我的asp.net网站的url中有一些未知文本,c#,asp.net,string,url,localhost,C#,Asp.net,String,Url,Localhost,在我的asp.net网站项目中,我运行/Functions/Profile/Pages/MySetting.aspx 我的代码运行得很好,但url变为 http://localhost:51479/%28S%28xfqh4f0sufiuznzp1cyxir5s%29%29/Functions/Profile/Pages/MySetting.aspx 而不是 http://localhost:51479/Functions/Profile/Pages/MySetting.aspx 我的项目出了什么
/Functions/Profile/Pages/MySetting.aspx
我的代码运行得很好,但url变为
http://localhost:51479/%28S%28xfqh4f0sufiuznzp1cyxir5s%29%29/Functions/Profile/Pages/MySetting.aspx
而不是
http://localhost:51479/Functions/Profile/Pages/MySetting.aspx
我的项目出了什么问题?
谢谢 您正在使用的是
cookieless
会话。在web.config中更改此行:
<sessionState mode="InProc" cookieless="true" timeout="3000"></sessionState>
为此:
<sessionState mode="InProc" cookieless="false" timeout="3000"></sessionState>
您是否已将网站设置为使用无Cookie会话?我可以在哪里设置?你能给我看一些吗?在你的web.config中,sessionState
元素是什么样子的?检查这个链接它是如何配置的@DavidG,