Yes -- use an HTML5 localStorage
key to save whatever data you need:
localStorage["hi"] = "ho";
// and then later ...
alert(localStorage["hi"]);
Strings saved into the browser's local storage will persist when the user navigates to a new page on your site, or returns to your site later. Its browser support is pretty good -- even IE8+ supports it.
One note: you can only save string data. So, if you have an object, then you'll need to use JSON.stringify / JSON.parse:
var user = { firstName: "foo", lastName: "bar" };
localStorage["name"] = JSON.stringify(user);
// and then later ...
var restoredUser = JSON.parse(localStorage["name"]);
if (restoredUser)
alert("Hi, " + restoredUser.firstName);