会话丢失在IE的Facebook应用程序iFrame [英] Session Lost on IE Facebook App iFrame

查看:90
本文介绍了会话丢失在IE的Facebook应用程序iFrame的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户使用Internet Explorer时,我的Facebook应用程序出现问题。
我的应用程序在iFrame中作为Canvas页面加载。

I have an issue with my Facebook app when the user uses Internet Explorer. My app is loaded in iFrame as Canvas Page.

Cookie和会话在发布后丢失。如果我在Facebook之外打开我的应用程序,这意味着使用直接的URL,就不会发生Firefox,
,如果在IE上打开我的应用程序,并不会发生这种情况。

Cookies and Session are lost after post back. It doesn't happen of Firefox at all, and it doesn't happen on IE if I open my app outside of Facebook, meaning, using the direct URL.

我的应用程序是Asp.net C#应用程序,但它不应该真的很重要。

My app is Asp.net C# app but it shouldn't really matter.

我认为问题大于Facebook问题...任何网站加载在iFrame使用cookies /会话被IE阻止cookies /会话,但Facebook有办法克服这个?我必须在我的应用程序中使用会话,而不仅仅是为了一次又一次地保存重新认证,但是对于其他的东西也是如此。

I think the issue is larger than a Facebook issue... any website loaded in iFrame using cookies/session is prevented by IE from keeping cookies/session, but is there a way by Facebook to overcome this? I must use sessions in my app, not just to save the reauthentication again and again but for other things too.

请帮助我。
谢谢!

Please assist me. Thanks!

推荐答案

很可能您需要在应用程序中实现P3P头,有关详细信息,请参阅以下内容:
http://forum.developers.facebook.net/viewtopic.php ?id = 452

most likely you need to implement P3P headers in your app, see the following for more details: http://forum.developers.facebook.net/viewtopic.php?id=452

这篇关于会话丢失在IE的Facebook应用程序iFrame的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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