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