wilri01
asked on
redirect after PHP session timeout from within iFrame to top level frame
A timeout of the PHP session is detected with isset(a_session_variable), and then redirection with
header('Location: http://www.dommain');
exit();
But this is code is within an iFrame, and the code to reinstate the session is in the top level frame. So the whole page gets generated within this iFrame.
So does the header location have a "_target=" kind of option? If not, what do you suggest?
header('Location: http://www.dommain');
exit();
But this is code is within an iFrame, and the code to reinstate the session is in the top level frame. So the whole page gets generated within this iFrame.
So does the header location have a "_target=" kind of option? If not, what do you suggest?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You might also consider doing it via meta tags in case the user has scripting disabled.