在IE中阻止cookie [英] Blocking cookies in IE

查看:170
本文介绍了在IE中阻止cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网站上加载跨域平台页面时遇到问题。



将第三页加载到我的网站我正在使用SSO类型身份验证。它在MOZILLA和Chrome中工作但在IE中不起作用。



当我更改 IE安全设置允许所有cookie 时,只有它工作了。





有些角色建议我在这里使用P3P原理。我试过但是没有用。





请帮我解决这个问题

I have a problem in loading the cross domain platform page in my website.

Loading the third page in to my web site i am using SSO type authentication.It was working in MOZILLA and chrome but not working in IE.

When i am changing the IE Security setting allow all cookies then only it was working.


some personas are suggested me to use P3P principle here.i was tried but it was not working.


please help me in this issue

推荐答案





你可以尝试一些这些逻辑来解决。



而不是用cookie保存用户数据,为什么不能你使用会话对象来存储数据。



通常,当Javascript在浏览器中被阻止时,用户将被激活以启用Javscript。对于弹出窗口阻止程序,如果你想使用cookie来获取用户信息,为什么不能建议用户允许cookie。
Hi,

You can try some of this logics to solve.

Instead of maintainingthe user data in cookie, why can't you use the "session objects" to store data.

Normally, when the Javascript is blocked in browser then user will be laerted to enable the Javscript. same way for pop up blocker, why can't you suggest user to allow cookie if you want to use cookie to have user information.


你好Buvanesh,

感谢您提出建议但在这里我的问题不同。

我正在加载第三方页面。出于访问目的,我生成了一个私钥。

所以它不可能作为你的方式过程。



任何家庭刚才我得到了输出。



解决方案方式:



只需将第三页网址绑定到您的网站网址



例如:您的网站:www .myprojects / access.aspx.com

第三方网页网址:www.clineturl / access / authentication

在第三方网站上,您可以使用许可证访问该网站。

在该设置中只更改第三方网址

就像那样

只是映射了第三方网址,如:www.clineturl / access / authentication to www.myproject /访问



它在web.config文件中进行了更改。

将cookie视为主要方,因此cookie不会被阻止。 />


这里会出现一个问题。当第三方改变URL时你也会改变你的身份。
Hi Buvanesh,
Thank you for giving the suggestion but here my problem is different.
I am loading the third party page .For access purpose i was generating the one private key.
So it was not possible as your way process.

Any home just now i got the output.

Solution way:

Just maped third page URL into your site URL

like Example: your site : www.myprojects/access.aspx.com
third party page URL: www.clineturl/access/authentication
In third party site your taking the licencse to access that site .
in that setting just change the thrid party url
like that
just mapped the third party URL like:www.clineturl/access/authentication to www.myproject/access

it was changing made in web.config file.
the cookies are treated as primary party so cookies will not be blocked.

Here one problem will be occur .When ever the third party change the URL you also change in your side .


这篇关于在IE中阻止cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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