iframe - How do I pass a target parameter to a CakePHP redirect? -
I have a built in CakePHP module that is hosted within the IFrame. My parents' page needs a redirect target. I am using normal HTML:
& lt; A href = "#" target = "_ parent" & gt;
But how can I do this for a kPHP redirect?
$ this-> Redirect ('http://www.url.com');
A "redirection" is actually done using the HTTP protocol, which means The user is completely transparent and no HTML is loaded.
What you are trying to do is create a link in the HTML page. Therefore, you can not use the redirect () to do this, because the redirect () uses lesser layer than HTML.
You have to create a page with HTML redirects (there are several ways to do this, Google will help you).
Comments
Post a Comment