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

查看:223
本文介绍了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.

任何

推荐答案

很抱歉听到你不得不放弃。我不知道你的确切的问题是,但通常所有您需要的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内容,而不是cookies是否可以设置。

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天全站免登陆