How do you set a cookie in a Facebook Tab or Canvas App?
I know that Firefox and Chrome handle this already and using a P3P header for IE will allow setting cookies from the server side. I want to know if there is anyway to set a cookie in the Facebook App that will work in Safari if the user has never visited your site?
I need to be able to set a cookie for session management to know whether my users are authenticated or have any data in the session. This works perfectly in all browsers except Safari when the user has never visited the site because of Safari's "third party cookie" policy.
I thought it would work because Facebook renders the iframe as a POST to your app but it appears that it does not as my App will not set the cookie in Safari.
I a hoping others have run into this problem and can help me out. Thanks.
链接地址: http://www.djcxy.com/p/57462.html