域中有不熟悉的字符 [英] There are unfamiliar characters in domains
问题描述
我在url ASP.NET项目中写出了不同的字符,我想知道这可能是什么原因吗?
http://domain/(S(d1zfezo1knkqpsbwou3ll4i0))/Default.aspx输出.项目. NET 4.0已编写.
Hi,
I wrote out different characters in the url ASP.NET project, I wonder what could be the reason for this?
http://domain/(S (d1zfezo1knkqpsbwou3ll4i0))/Default.aspx out. Project. NET 4.0 was written.
推荐答案
这是您的会话信息.
在您的Web配置文件中,您会看到以下内容:
It is your session information.
in your web config file you have something like this:
<sessionState mode="InProc" cookieless="UseUri" timeout="60">
或
or
<sessionState mode="InProc" cookieless="AutoDetect" timeout="60">
(您的问题的重要部分是无cookie的部分)
如果您不希望这样做,只需将cookieless ="UseUri"更改为cookieless ="UseCookies"之类的
请注意,这样做,您的客户应接受Cookie.
也来看看这个:
http://msdn.microsoft.com/en-us/library/aa479315.aspx [ ^ ]
希望对您有所帮助.
(the important part for your question is cookieless part)
if you do not want that just change this part cookieless="UseUri" to something like cookieless="UseCookies"
Note that by doing this, your clients should accept cookies.
also take a look at this one:
http://msdn.microsoft.com/en-us/library/aa479315.aspx[^]
hope this can help.
这篇关于域中有不熟悉的字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!