Jump to content

Cross domain session problem in iframe [closed]


Juergen
 Share

Recommended Posts

Hello @all

I have a  PW installation where a page contains a form, that uses a session for a CAPTCHA. Lets say this form is located on www.webpage1.com/myform.

This form works without problems if I fill out the form directly on the given page.

Now I have another website at www.webpage2.com. On this page I want to include the form from webpage1.com via iframe

<iframe src="www.webpage1.com/myform" style="width:800px; height: 1000px;"></iframe>

It loads the page with the form inside the iframe, but it seems that the sessions does not work anymore, because the form is located on another domain.

To be more precious: The form contains a CAPTCHA and the value of the CAPTCHA is stored inside a session on webpage1. If I fill out the form inside the iframe on webpage2, the CAPTCHA does not work anylonger and throws always the error message that the value of the CAPTCHA entered in the inputfield is wrong.

My question: How can I make sessions working in iframes too on crossdomains? I have googled, but did not found a good explanation how to achive this.

Can someone help me out?

Link to comment
Share on other sites

  • Juergen changed the title to Cross domain session problem in iframe [closed]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...