This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes sample code to display last 10 visited pages by user in the application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "sample code to display last 10 visited pages by user in the application " Watch "sample code to display last 10 visited pages by user in the application " New topic
Author

sample code to display last 10 visited pages by user in the application

arjun Pal reddy
Greenhorn

Joined: Apr 30, 2011
Posts: 3
I need to show last 10 user visited pages along with time of visit under recent activity section on my home page. All the pages are JSP's with the use of javascript and Jquery. I found some related examples based on PHP but my need is using the above technologies. Someone suggested use of cookies,sessions, local-storage,history etc. Please someone share some example code on how to do this. Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Use a filter and store the info in the session.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sample code to display last 10 visited pages by user in the application
 
Similar Threads
How Client remembers visited links
dont now how to use threads
retreiving the URL
is there any way to trigger onLocationChanged other than moving
about java application