I want to redirect users from a certain page after 10 minutes, and as I redirect them I want to do some stuff with some php code. Is this possible without using sessions? What if the user clicks the 'stop' button on his/her browser?
Thanks!
I want to redirect users from a certain page after 10 minutes, and as I redirect them I want to do some stuff with some php code. Is this possible without using sessions? What if the user clicks the 'stop' button on his/her browser?
Thanks!
Make a javascript/refresh redirect, then on the page they are redirectede to call your PHP?
Its not possible for you to know if the user hit stop, or simply went away to surf on another page.
Use a "meta" redirect if you ALWAYS need to redirect users away from your page
<meta http-equiv="refresh" content="600;url=otherpage.php">