samedi 4 avril 2015

prevent user from going back in history


Vote count:

0




I have a redirection page which redirects the user to an external link. I saw other pages which are able to skip a page when user clicks the back button.


Specifically: -I have a page which is listing the products -When a user click on a product it goes to my redirection page. -And after 5 seconds he/she is redirected to the external page.


What i want to implement is: when the user is browsing to the external link and go back(in his history), i want to skip the redirection page and go to the listing instead of opening my redirection page again and redirect him again to external link.


I hope it is clear.


I saw other pages with the same structure to do it and i am wondering how i can achieve such a feature. Is it with .htaccess or any other magical function?


Thanks in advance



asked 24 secs ago







prevent user from going back in history

Aucun commentaire:

Enregistrer un commentaire