Welcome Guest, Not a member yet? Register   Sign In
Redirect with target="_top" option

I have a web page that is embedded in an iframe on another website. The page has a form with the buttons Cancel and Continue.
On Cancel, I want to address a controller function which destroys the session, after that, the user should be redirected to the top level of the website with the iframe.
Until now, I have this code linked to the Cancel button:
<a href="....." target="_top">Cancel</a>
But I want to destroy the session before that. Any ideas?
A simple redirect without the target="_top" option will load the whole website inside the iframe.

Messages In This Thread
Redirect with target="_top" option - by Wouter60 - 05-25-2017, 08:59 AM

Theme © iAndrew 2016 - Forum software by © MyBB