How can I set a time limit for a user to stay on a web page. Let me explain it to you;
Let suppose I've two web pages, page-A and page-B. When the user is on page-A, he needs to stay at this page for 30 secs before going to page-B. If the user directly visit the page-b, then the error is shown to the user with the remaining sec left to visit page-B. When the timer reaches to 0 sec or you can say 30 secs are over, then the user can view the content of page-b..
Can anyone let me know how can I do it?