I would like to set up a cookie that never expires. Would that even be possible?
document.cookie = \"name=value; expires=date; path=path;domain=domain; secu
If you intend to read the data only from the client-side, you can use the local storage. It's deleted only when the browser's cache is cleared.