Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember last user's page #16

Open
nbeloglazov opened this issue Nov 23, 2013 · 0 comments
Open

Remember last user's page #16

nbeloglazov opened this issue Nov 23, 2013 · 0 comments

Comments

@nbeloglazov
Copy link
Collaborator

If user comes to main page, like http://nonojure.com/ (without sub pages) redirect him to last visited page. Example:

  1. I came first time to the site http://nonojure.com
  2. Puzzle browser is shown.
  3. I choose puzzle with id aaabbbccc42
  4. Puzzle shown with url http://nonojure.com/puzzle/aaabbbccc42
  5. Solved half of the puzzle and closed page.
  6. Opened page http://nonojure.com
    Here I should be redirected to last visited page http://nonojure.com/puzzle/aaabbbccc42. If user opened not main page but with specific url then no redirect is needed.

Last visited page can be stored in browser local storage, no need to keep it on server I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant