更新时间:2022-12-22 23:14:34
如果我们使用状态服务器并设置cookieless = true,那么用户系统上是否还存储有cookie?
if we use a state server and set cookieless=true, is there still a cookie stored on the user's system?
这个问题不完整.
我只能为您提供所需的答案:使用 cookieless = true
时,ASP.NET不会在客户端计算机上使用cookie来存储会话ID.这就是此设置针对Cookie所做的全部.
I can only give you the answer you're looking for: when using cookieless=true
, ASP.NET will not use cookies on the client machine to store the session ID. That is all that this setting does in regard to cookies.
如果您使用确实使用cookie的用户控件或应用程序代码,则这些设置不受设置的影响-这样的cookie仍将发送到访问者的计算机上.
If you use user controls or application code that do use cookies, those are unaffected by that setting - such cookies will still be sent to the visitor's machine.