Creating a browsed history menu
<p>I'm sure many of you have visited amazon.com. When you do, amazon creates a list of browsed menu items at the very bottom of the home page.</p>

<p>I am currently doing a project that applies personalisation and customisation and wanted to implement something similar. My prototype is based on an institution, so I want to display a list of, say, the last 5 viewed programmes or courses on the home page. I am using PHP and so far i have thought of using <code>$_SERVER["HTTP_REFERER"]</code>, but this returns only the last URL, which is not what I want. Does anyone have any suggestions to help me with this?</p>

<p>Thanks.</p>
