I am having a problem in my project which is based on iframe. It works in a way that my user gets the embed code for particular broadcasts and paste them on third-party websites. The embed code creates an iframe on third party websites and my application run in it. The application is connected with facebook so user must login with facebook to use the application when user visits first time the see a facebook login button by pressing they get a popup and logged in with facebook. After they login i get their information using graph api and set it in a session. All this scenario works fine in all browsers but cookies are not set in safari.
I am using codeigniter for my project please help me. I have tried setting a p3p header but it also didnt work.