Persisting data in an extension

Dec 8, 2010 at 5:20 PM

Is there some way to persist data in an extension. We are using BlogEngine internally and what I would like to do is create an extension that, when a page is served, logs that the user has viewed the blog, and if so, displays their gravatar in a list headed "Who Read This". 

Obviously to do this I need to store who has viewed the page. Is there some mechanism I can use in my extension for persistence that will get added to the main data store (so our backups record this info).

cheers and thanks for the blog!

Harry

Coordinator
Dec 8, 2010 at 7:50 PM

Check this out and also take a look at existing extensions that save data, like BBCodes in standard install for example.