Monday, May 21, 2012

Session problems in canvas FB app on IE

While building Shine App , I learnt a number of things . One of them is that IE doesnt store third party cookies . Because of this IE doesnt store session cookies of any app .

Particularly in my app, I needed sessions. Hence , on not finding one , I assumed session is lost and I redirected the user for re-authentication.

Solution of this is passing on specific headers, named P3P and giving them value as
CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"

I still havent figured out the meaning of these . Ill learn more about it in future.
 Web Development is definitely fun :)

No comments:

Post a Comment