如何使用ASP.NET检查Web浏览器的第三方cookie [英] How to check third-party cookies of your web browser using ASP.NET

查看:72
本文介绍了如何使用ASP.NET检查Web浏览器的第三方cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I am not able to check third party cookie is enable or not of my browser. I can check first cookie but not third party.





我尝试过:



我无法检查第三方cookie是否启用我的浏览器。



What I have tried:

I am not able to check third party cookie is enable or not of my browser.

推荐答案

你无法检查其他网站的cookie,因为浏览器不发送它们,它只发送与您自己网站相关的cookie。这是出于相当明显的安全原因而且无法绕过。你也不能使用javascript或jQuery。
You can't check cookies of other sites because the browser doesn't send them, it only sends the cookies that relate to your own site. This is for rather obvious security reasons and can't be bypassed. You can't do it using javascript or jQuery either.


这篇关于如何使用ASP.NET检查Web浏览器的第三方cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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