By mmlr38 on
Hello,
I have a Drupal site that has a linear progression of pages. What I want to do is save the last page visited by a user when they log out or leave the site. Then, the next time they come back to the site and log in, I want them to be brought to that page so that they can continue their progression through the pages in the correct order.
Is there any module out there that can do this? Seems like it would most easily be done with cookies, though I guess it could be done through the database pretty easily as well.
Thanks for any feedback!
Matt
Comments
_
Have you looked at the Pageroute module?
Pete.
Pete, No I haven't looked at
Pete,
No I haven't looked at that module. By reading the description I'm not sure how it would work for what I want to do, but I'll definitely look into it. Thanks!
Matt
_
This might help - http://api.drupal.org/api/function/hook_user/6
I found http://drupal.org/project/login_destination, which I'm going to try...
Pete.
The trick for us is to record
The trick for us is to record the page that the person was on during their last visit. I'm almost certain the only way to do this is with cookies unless one of these modules can save the last page visited in the database and then reference it the next time a user visits the site.
The most promising link to a module you've provided so far is the pageroute module. There is a sentence on the description page that reads:
"You can use the module to create a "route" which leads users through multiple pages, which can be e.g. a node creation form or a node display."
That sounds like what we want to do. We basically want to create a "route" which leasd users through multiple pages of node displays. I'll have to install it and take a closer look to see if it will do what we need.
Thanks again for the feedback. If you come up with any other ideas, please share them!
Bookmark (the traditional kind)
I would really like to hear if you found a solution to your problem.
I am trying to do exactly the same thing. I'm using a book to teach an online course. One page per lesson. I need to track the last book page visited, so the student can easily come back to where he left off.
I also need to prevent the student from skipping ahead. He should only be able to view up to his current lesson.
Thanks for any information.
one page per lesson
Michael,
This is exactly what I am trying to do now. Did you ever find a good solution?