Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 06-07-2009, 10:51 AM   #1
Active Warrior
War Room Member
 
rstanley's Avatar
 
Join Date: Nov 2008
Location: USA, Arizona, San Diego
Posts: 48
Blog Entries: 1
Thanks: 19
Thanked 13 Times in 11 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to rstanley
Lightbulb PHP Session and Iframes

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.

rstanley is offline   Reply With Quote
Old 06-13-2009, 12:11 PM   #2
HyperActive Warrior
War Room Member
 
rtrotter's Avatar
 
Join Date: Jun 2009
Location: Lubbock, Texas
Posts: 104
Thanks: 20
Thanked 34 Times in 29 Posts
Social Networking View Member's FaceBook Profile 
Default Re: PHP Session and Iframes

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

Ping All Your Feed On Auto-Pilot
www.kping.com
rtrotter is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
cpa offers, iframes, php, session

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 09:43 PM.