Limiting name and date js cookie to load only once per session
<p>I have a name prompt and date cookie loading on my home page, for first time visits and then subsequently as visitors come back (with the addition on a last visited message). How can I limit this last visited message to load only once per session, as currently, if someone browses my website and clicks on a link to another page (contact page for example) and then clicks back on the home page, the last visited message will load again?</p>

<p>The cookie itself has a 180 day expiry date, but I would like the 'last visited' message to have a time limit for each session.</p>
