For non connected users set custom states on the page, it will work as long as you don’t reload the page. For logged in users saving in fields works well