Cookie issue with two website from different domain, one called in another

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gagandeepgupta16
    New Member
    • Feb 2007
    • 56

    Cookie issue with two website from different domain, one called in another

    Hi
    I have one website -A in which there is an Iframe.
    1. If i call another website -B inside the iframe in A then cookie is not getting created.

    2. If the same website B is directly opened on browser the cookie is created.

    3. If i go for 1. scenario and reduce the privacy setting of the browser (IE 7) by selecting "Allow session cookie..." then also cookie is created.

    The issue is i can ask the end users to reduce their browser's security or Privacy settings.

    Is there any possible solution like one i got by adding P3P using <cfheaders...
    but somehow its not working.

    Any help would be appriciated.

    Thanks in advance
  • gagandeepgupta16
    New Member
    • Feb 2007
    • 56

    #2
    So finally i got the solution,
    After a long google search i found this site which gave me the best solution :
    The above code will set P3P (Platform for Privacy Preferences Project) header. It allow the browser (specially Internet Explorer) to through all the third-party cookies (which may be set through iFrame).


    and then i went to


    to generate my own set for the <cfheader....

    Let me know if anyone of you ever have similar sort of issue....I'll be glad to hellp...
    Happy Coding... :-)

    Comment

    Working...