New very effective and comfortable script "The Last Visited Pages" Setting this script on your website will give your visitors the great opportunity to see their last visited pages of your website. The visited pages links are created by using DOM and JavaScript. Script is working by the Cookies (the visited pages are kept for example about a month – the period is decided by you). The quantity of the shown links are set by you. So, this is a very effective and comfortable script, that will be very pleasant for the visitors of your website. The script homepage is http://rubensargsyan.com/the-last-visited-pages/
This could be a good script to increase the comfort of a user. Have you considered maybe adding it into some form of membership site? It's sort of like on amazon where it tells you your last viewed products etc. I can only really see it being some form of use for a membership site or a site where a user may be referrencing to some form of information, so if they use a page a lot without realised, and never bookmark it, they can always find it.
yeah, here are some suggestions and why i would not use it: consider bandwith and big sites... stacking up urls visited is not practical when done through cookies. there's the fact that you have a limit to maximum cookie size or you need a new cookie for each url. then cookies are being sent to client with EVERY resource they grab from the server - be it .js, .css, .gif, .ico or whatever else you may throw at them. i did some calculations for work last year - we have around 200,000 visitors a month and they in turn generate nnnnnnnn page views, each client averaging nnn requests per page view. after having added it all up with an estimated / average cookie size, we came up with about 25gb of traffic a month that goes through the router and we are billed for--yet fails to show up in the apache logs addressing the problem above was easy, we just made a CDN without cookies for all static resources. but i certainly would avoid adding all that up to clients anyway. if they are members already, store last visited in their user profile. an alternative technique I have been exploring is this: you can get the same information from their browser history. build a list of the pages you want to know have been visited and then inject links to them in the dom, off-screen. style the a:visited as red or something and read the ones back that are red, you get your visited urls and can do whatever you need afterwards. if you're interested, i have already created a prototype for this that works fairly well (and can also tell me what competitor sites they may have visited). good luck