PHP Session and Iframes

by 1 replies
3
Anyone using PHP forms and passing variables into iframes?

I am working on CPA offers and want to reuse form data.

I think I have it figured put with $_POST and $_SESSION but need someone to provide a little guidance.

PM me if you have done this before.

P.S. - If your advice is good I will share a "shadow elite" method/site that I have stumbled upon.
#programming #cpa offers #iframes #php #session
  • Due to security models used in browsers, you cannot set a session cookie in an iframe unless the domain for page in iframe is same as domain for iframe parent.

    In IE, if privacy level set to allow all cookies then can set cookie in iframe from different domain.
    In Firefox using default setting you usually can also.
    In Safari you cannot and in fact, Safari will not set cookie in iframe even if on same domain unless the user clicked a link to load it.

    This makes loading affiliate pages in iframe and getting cookie set very difficult.

    Hope that helps,
    Rodney

Next Topics on Trending Feed