Code for webpage such that if anyone closes it, then next time when he opens it should start from the same page.
Thank you for giving your time.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Rough idea:
Set a cookie on each page they visit. Then call that page on the index for example.
On the page they enter
On any page i.e. index.php
With the above solution gotta make sure that they are not redirected on every page but only when they revisit the website 🙂