ralze34 Posted April 23, 2009 Share Posted April 23, 2009 Hey guys, I have a page that dynamically populates a page after a user logs in using an iframe. Whenever they log out, they are redirected to the main page. My problem is that, after logout, it stays within the iframe. How do I reload the entire page? Quote Link to comment Share on other sites More sharing options...
taith Posted April 23, 2009 Share Posted April 23, 2009 javascript... parent.window.location=''; if i'm not mistaken Quote Link to comment Share on other sites More sharing options...
ralze34 Posted April 23, 2009 Author Share Posted April 23, 2009 That will reload the whole page, not just the iframe? Quote Link to comment Share on other sites More sharing options...
ralze34 Posted April 23, 2009 Author Share Posted April 23, 2009 I added parent.location.reload() and all it is doing is reloading the iframe. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.