HTML5 Web Storage vs Cookies
cookies, html, javascript, php, session
Solution
For what you describe, it would almost be easier and less error prone to just use a cookie. Not all browsers will have the same implementation of HTML localStorage, especially IE 7+8. However, they all use cookies and there will be no issues with cross-browser compatibility.
Check out this SO for more info: Local Storage, Session storage, Web storage, web database and cookies in HTML5
Problem
I want to display a message to first time visitors of a specific page on my site. The message will only need to appear once. This would be pretty simple to do using cookies but is there more benefit to using HTML5 localStorage? If so how would it be implemented?