BreakBreak Posted October 24, 2006 Share Posted October 24, 2006 If your html has a meta refresh, say 2 seconds, and your php loop runs for 5 second, will it refresh after 2 seconds or wait for the php loop to finish?Thanks in advance. Quote Link to comment Share on other sites More sharing options...
heckenschutze Posted October 24, 2006 Share Posted October 24, 2006 Depending on the browser, if the browser is still recv'ing content, it might wait until all the data has been recv'd before redirecting.But in 99% of the cases, it will redirect after the META refresh has finished. Closing the connection to the server (since http is a stateless protocol).hth. Quote Link to comment Share on other sites More sharing options...
BreakBreak Posted October 24, 2006 Author Share Posted October 24, 2006 Good, so it WILL refresh even though php is running?What if php terminates itself, does the refresh still go through?This is what i WANT to happen :) Quote Link to comment Share on other sites More sharing options...
heckenschutze Posted October 24, 2006 Share Posted October 24, 2006 Yes :) Quote Link to comment Share on other sites More sharing options...
BreakBreak Posted October 24, 2006 Author Share Posted October 24, 2006 Great! :DThank you again :) 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.