I have a website. It has 100 html files and one html (index.html) for the home page, the others (1.html, 2.html ... 99.html) are sub pages. I want to show a <strong>recently visited pages</strong> block on my home page. I am trying to not to use php, asp or any other server side languages. Is there any way to do it? Thanks.
<strong>Edit1</strong>: Thank you for your replies. But it seems I did not make myself clear.
I want all visitors see the list, and the list will not only show pages that he/she has just visited, but all the recent pages that have been visited by any visitor.
I would look into using HTML5 Local Storage
It's essentially a DBMS stored right on the user's browser. Of course, it's not supported in IE < 8, so if universal cross-browser support is a requirement, this might not work for you.
Save a cookie on the user's computer. Generally, you have something like this (pseudocode):
<li>add current page to list (and probably delete old items)</li>
<li>create list from data</li>
You cant share the list with other users.