So I've been working on this website which is an ongoing choose-your-own-adventure story that I update regularly. There are so many parts to the story now that I need a way for my readers to be able to get back to whichever post or part of the story they've gotten up to but I can't seem to find an answer. I feel like I should be able to have cookies track the last place they read, but I haven't found anything that fits that exact nature. Anyone know about this/have suggestions?
So the only piece of information that you need to store is the virtual equivalent of a page number - no need to store any details of things like, for example, equipment that the character possesses or hit points, etc? If that is the case, this should be quite trivial - all you need to do is set a cookie with a unique name, a value of the stage that the character is at, with a *reasonable* expiry date - I'd suggest around a couple of weeks tops. (If somebody hasn't revisited the site after two weeks probably safe to say that they've lost interest.)