Preventing users to bookmark a page and redirect the users to first page RRS feed

  • Question

  • User351619809 posted

    Hello All,

    I have a web application. After filling out the first page, users are redirected to another page. There are around 6-7 pages like this. Sometimes the users Bookmark the 5th or 6th page. I want to redirect the user to the first page if any other pages are bookmarked. One way, I can do this if the form field on the first page is empty then I can check that if it is empty then go to first page, but I was looking for a simpler way if there is any. I have several form field one each page.

    Any help will be appreciated.

    Sunday, November 22, 2020 4:21 PM


  • User475983607 posted

    It's not possible to determine the request came from the user opening a bookmark. 

    Set a session cookie that expires when the browser is closed.  If the cookie does not exist then redirect the user to the first page.  Also set a sliding cookie expiration to handle if the use does not close the browser.

    Cookie Reference documentation.


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, November 22, 2020 5:31 PM