Folks,

I would like access to local storage for the design of some new features.

Background

   - Unlike TWC cookies and the cookie jar from Eric are not longer 
   relevant. 
   - I understand the Browser Local Storage Plugin is designed to save 
   tiddlers, according to the filter set within it.
   - I understand the Password widget uses this mechanism
   - There are server based possibilities but on this occasion I am not 
   using them. This interest is for single file wikis.

*Is there a TiddlyWiki way (Widget et...) or could there be a way for me to 
simply define, set and read values in Browser Cache, Cookies, local 
storage, Session  Storage?*

If so I can see the opportunity for some helpful methods to be designed.

*For Example;*

On any load (Startup)

   - If the local storage session code equals the saved one proceed and 
   allow saving.
   - If no Local storage session code exists randomly generate or 
   timestamped session "ID" to generate one, save it in a tiddler and cookie 
   (as an example), save and reload the wiki (With a custom splash screen). 
   - If the local storage session code does not equal that saved in the 
   wiki then stop saving (thus overwitting the session who owns it) unless an 
   express override occurs.

*Further to this;*
If we could have some general widgets to access local storage this way 
outside of the tiddler save process various other features could be 
designed such as custom clipboards, and alternate form of persistent 
variables, somewhat global (but changing variables) and counters or 
registers.

Thanks for considering this
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/6f5b804e-397c-460a-b8ce-8a689475f9f2%40googlegroups.com.

Reply via email to