On my webpage I have a status object that stores a few values.
var status = { animal: "cat", page: 4};
I would like to be able to update the URL with a unique ID that represents that state of the status object.
http://my.website#/searchPage/472940283648
The javascript on the page would need to read in the number, and from it produce a status object.
I suppose I could save the status object in a database, but is there a way to convert the object into a reversable hash of some sort?