I often find myself wanting to store a simple piece of information such as 'last exported id' or 'last import date' for retrieval at a later point in time. This is the kind of information that will always have a value, but will change frequently. Does anybody have any recommendations of a best practice, or even just passable place for storing this information?
I've considered making them config options, but since they are the kind of information that will change frequently in an automated fashion, and I don't want the end-user to modify the information, this doesn't feel like a good fit.
It needs to be global and permanent (changeable, but always available) so something like storing it in the session is out of the question.
I recently came across core_variable, which may be appropriate, but I've never come across a single use of it, so have no idea if it's suitable or even stable, let alone how to use it. If anybody has any examples that would be grand.