Current Session

48 views
Skip to first unread message

Mohammad

unread,
Jan 28, 2019, 12:21:51 AM1/28/19
to TiddlyWiki
What does it mean: the current session?



A tiddler is deemed to have been modified if it has been written back to the wiki since the start of the current TiddlyWiki session. If you edit a tiddler and immediately store it again without making any changes, that is enough to mark it as modified.


If we save the wiki and click on the refresh button, does we have started a new session?

Does $:/temp tiddlers are removed when we start a new session?
Does we need to close - reopen to start a new session?


--Mohammad

TonyM

unread,
Jan 28, 2019, 1:53:43 AM1/28/19
to TiddlyWiki
Mohammad,

haschanged[] will list all tiddlers since the last time the wiki was loaded from disk, ie the reload button, or if you close the tab and reopen again.

It is perfect for an emergency save, like list everything changed since I loaded it this morning. Export to JSON, restore from last working version and import the json.

Regards
Tony

Mohammad

unread,
Jan 28, 2019, 4:23:08 AM1/28/19
to TiddlyWiki
Thanks Tony!

Cheers
Mohammad
Reply all
Reply to author
Forward
0 new messages