Juergen Posted January 11, 2024 Posted January 11, 2024 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?
Juergen Posted January 14, 2024 Author Posted January 14, 2024 I close this thread, because I use a hidden input field instead of a session!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now