Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
arjun Pal reddy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a filter and store the info in the session.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic