Data Storage
ApprovingRegistrations needs to store its confirmation codes somewhere so that it can match up a confirmation with the registration that initiated it.
Where should I store data for this? Am thinking that it should go in a topic pub directory - but where? Under the TWiki web? Which topic? This must be a problem faced by other
TWikiSubSystems... if it were a plugin then it might seem obvious where to put them: in pub/TWiki/XPlugin/ - but in this case its not so because the data is
not public: confirmation codes must be keep secret until the user confirms.
I'd really like an answer to this soon as I am building this in the next few hours.
--
MartinCleaver - 02 Oct 2004
TWiki.TWikiPlugins#RecommendedStorageOfPluginData should give you the answer. Although not a Plugin, the TWiki.ApprovingRegistrations documentation topic also has a pub dir.
You can obfuscate file name, for example with a one way hash (as has been done in the
HeadlinesPlugin)
--
PeterThoeny - 05 Oct 2004