Security restriction with page refresh in a frame

Due to security restrictions certain browsers will not allow you to refresh a page from an external site that is framed in your site. To get around this, load a local page into the frame. Use the Javascript onload event to redirect the page to the external site.

This page illustrates the code - view the source: Frameset refresh example.

There is a major problem with this - the frame will reset when the browser is refreshed and hence you'll loose your place in the framed website.

Last modified: 06/05/2006 (most likely earlier as a site migration in 2006 reset some dates) Tags: (none)

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top