The problem: site A (main site) loads site B (framed site) in iframe. Site B sets some cookies (e.g. store session data), to function properly. These cookies are called 3rd party cookies, as they are not set by site A.
This is very common problem for iframed Facebook applications. Sadly, if you don't have control over site B, you can't apply this solution.