关闭饼干 [英] turn off cookies

查看:99
本文介绍了关闭饼干的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想为我的一页中包含非常安全数据的cookie调优.有什么方法可以只关闭单个页面.

预先感谢.

Hi

I want to tun off cookies for my one page having very secure data. Is there any way to turn off only for single page.

Thanks in advance.

推荐答案



据我所知,Cookie是在浏览器级别而不是页面级别收集的.因此,您不能在页面级别检查Cookie.您必须在应用程序级别为浏览器应用或删除Cookie.

如果要设置浏览器,而不是在计算机上存储cookie,请将Cookie.Discard属性设置为true.默认情况下,这是错误的.
Hi,

As much as my knowledge, Cookies are collected at Browser''s level not at page level. So you can not put a check on cookie at page level. you must apply or remove cookie''s for browser at application level.

If you want to set browser, not to store cookie at your machine set Cookie.Discard property to true. By Default this is false.


这篇关于关闭饼干的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆