Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Meta Refresh work during page load?

Page A has a meta refresh to redirect to another page, C, after a certain amount of time (time T).

From page A a link is clicked that takes a long time to load, longer than time T, and would eventually load another page; B.

Will the meta refresh on page A cause the page to be re-directed to C, or will the processing of the link override the meta refresh, eventually loading page B?

like image 903
j.davies Avatar asked Apr 27 '26 14:04

j.davies


1 Answers

If you click a link to page B before page A redirects to C, you will get page B. If you open the link to page B in a new tab, then you'll get page C in the first tab (after the redirect), and page B in the second tab (the loading of page B will of course not wait for the redirect of A -> C).

like image 125
Rilien Avatar answered Apr 30 '26 03:04

Rilien



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!