< sessionState cookieless =" true" /> [英] <sessionState cookieless="true" />
本文介绍了< sessionState cookieless =" true" />的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无Cookie会话状态是什么意思?当您在web.config
文件中将
sessionState部分的cookieless属性设置为true时,这意味着什么?
我读了这个
( http://msdn.microsoft.com/library/de...ateSection.asp )
但它没有解释cookieless的含义。
解决方案
这意味着ASP.NET不会使用cookie来维护会话状态。相反,ASP.NET将通过插入随机ID来保持会话状态,
如: http://yourserver.com/(S(n1rpjs55dou ... elloworld.aspx
在你的URL中。
然后,* * * ID识别客户会话的状态,
而不是咕咕声kies用于维持会话状态。
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espa ?ol
Ven,y hablemos de ASP.NET ...
===================== =
水冷却器v2 <重量***** @ yahoo.com>在消息中写道
news:11 ********************** @ g49g2000cwa.googlegr oups.com ...无Cookie会话状态是什么意思?当您在web.config
文件中将
sessionState部分的cookieless属性设置为true时,这意味着什么?
我读了这个
(< a rel =nofollowhref =http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfSessionstateSection.asp\"target =_ blank> http: //msdn.microsoft.com/library/de...ateSection.asp )
并没有解释cookieless的含义。
AHA!谢谢!那么,它与以下事实没有任何关系
我想在客户端上删除其他东西上的cookie,比如我自己的
上的UserID?我的意思是,除了客户端浏览器用户
cookies之外,它与开发人员使用
限制没有任何关系饼干自己在客户端存储
信息?
还有,我们有办法检查客户是否有饼干
是否启用/开启?
What do you mean by a cookieless session state? When you set the
sessionState section''s cookieless attribute to true in the web.config
file, what does that mean?
I read this
(http://msdn.microsoft.com/library/de...ateSection.asp)
and it does not explain the meaning of cookieless.
解决方案
It means that ASP.NET doesn''t use cookies to maintain session state.
Instead, ASP.NET will maintain session state by inserting a random ID,
like : http://yourserver.com/(S(n1rpjs55dou...elloworld.aspx
in your URL.
Then, *that* ID identifies the state of your client''s session,
instead of cookies being used to maintain session state.
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espa?ol
Ven, y hablemos de ASP.NET...
======================
"Water Cooler v2" <wt*****@yahoo.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...What do you mean by a cookieless session state? When you set the
sessionState section''s cookieless attribute to true in the web.config
file, what does that mean?
I read this
(http://msdn.microsoft.com/library/de...ateSection.asp)
and it does not explain the meaning of cookieless.
aha! thanks! so, then it doesn''t have anything to do with the fact that
I want to drop cookies on the client for other stuff such as UserID on
my own? I mean, other than the fact that the client browser user
cookies or not, it doesn''t have anything to do with placing a
restriction on the developer to use cookies himself for storing
information on the client?
Also, is there a way we could check if a client has cookies
enabled/turned on or not?
这篇关于< sessionState cookieless =" true" />的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文