iframe Facebook 应用程序和 cookie [Internet Explorer] [英] Iframe Facebook application and cookies [Internet Explorer]

查看:29
本文介绍了iframe Facebook 应用程序和 cookie [Internet Explorer]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了 IBM P3P 编辑器,创建了文件并将它们上传到我的服务器.并且 cookie 在 Internet Explorer 中仍然无法识别.我检查了 P3P 验证工具,它似乎可以验证.

I have downloaded the IBM P3P editor, created files and uploaded them to my server. And cookies are still not recognized in Internet Explorer. I've checked the P3P validation tool and it seems to validate.

可以在此处查看应用程序:apps.facebook.com/naplesnews 并且 iframe 指向www.naplesnews.com/facebook/app/.

The application can be viewed here: apps.facebook.com/naplesnews and the iframe points to www.naplesnews.com/facebook/app/.

再次 www.naplesnews.com/facebook/app/ 似乎没有验证还有问题.

Again www.naplesnews.com/facebook/app/ seems to validate with no issues as well.

知道我在这里遗漏了什么吗?

Any idea what I'm missing here?

推荐答案

很遗憾得知您不得不放弃.我不确定您的确切问题是什么,但通常您对 IE 接受跨浏览器 cookie 的所有需求都是 P3P 策略标头.我不确定 IBM 工具.我为我的 PHP 应用程序所做的只是在任何页面输出之前添加以下代码:

Sorry to hear that you had to give up. I'm not sure what your exact issue is, but generally all your need for IE to accept cross-browser cookies is a P3P policy header. I'm not sure about the IBM tool. All I do for my PHP apps is the following bit of code prior to any page output:

//required for IE in iframe FB environments if sessions are to work.
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');

到目前为止,我在 IE6、7 或 8 中都没有遇到任何问题.您确定您的安全级别没有设置得太高吗?这应该适用于默认级别.

So far I haven't had any problems with it in IE6, 7 or 8. Are you sure your security levels aren't set too high? This should work on the default levels.

我在会话 cookie 验证和 Facebook 客户端库方面遇到了不同的问题,但这些都是处理实际 cookie 内容的各种问题,而不是是否可以设置 cookie.

There's separate issues I've had with session cookie validation and the Facebook client libraries, but those are various woes dealing with the actual cookie content, and not whether the cookies can be set or not.

这篇关于iframe Facebook 应用程序和 cookie [Internet Explorer]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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