You have a couple of options: storing a cookie on the client or utilizing the local storage of html5. Either of these could be checked on page load.
Here is a link for getting started with HTML5 web storage:
http://www.w3schools.com/html/html5_webstorage.asp