Forgot to mention, LocalStorage vs SessionStorage.

A particular thing worth noting about SessionStorage is that not only are 
the key-value pairs gone when the browser tab is closed, but the session 
storage created/accessed by whatever page in that browser tab can only be 
accessed by that page in the browser tab.  So very private to that tab, not 
available to pages in other tabs, even if those pages are same site origin.

However, just as for LocalStorage, SessionStorage is available to whatever 
other pages in iframes in the page of a browser tab.  So very cool for 
real-ish-time communication and sharing between all things within that 
browser tab (say TiddlyWiki and a bunch of things hosted in that TiddlyWiki 
via iframes) and the current session.

On Wednesday, March 9, 2022 at 1:50:15 PM UTC-4 ludwa6 wrote:

> Hey Charlie: Just saw your latest YouTube post 
> <https://www.youtube.com/watch?v=IKJZEKJp9Ck>, and- as this is a topic of 
> real interest to me -came here looking for more detail about what you mean 
> by "local storage."
>
> As i understand the options (nicely explained in this article 
> <https://blog.bitsrc.io/browser-storage-options-and-their-state-in-2021-6808b949087a>),
>  
> both Local Storage and Session Storage are indeed quite similar, main diff 
> being term of data persistence in the browser.  In either case tho, i don't 
> quite understand how that might support your stated Design Goal of enabling 
> a "Farm of single-file TiddlyWiki instances for team 
> collaboration/authoring," unless your team members are all using the same 
> browser instance, which would not be the case in any collaborative TW 
> authoring scenario that i can conceive...
>
> But if you could share more detail about the UseCase you are trying to 
> enable, that would sure help. Certainly is interesting on the face of it. 
> Rock on, mate!
>
> /walt 
>
>
> On Tuesday, March 8, 2022 at 7:37:41 PM UTC [email protected] wrote:
>
>> LocalStorage vs SessionStorage is a trivial thing.
>>
>> The next thing on my todo is, for both, getting lists of existing keys.  
>> Nothing complicated, just needs a little time.
>>
>> Reference: "Looping over keys" in https://javascript.info/localstorage
>>
>> On Tuesday, March 8, 2022 at 1:29:15 PM UTC-4 [email protected] wrote:
>>
>>> C.J.:
>>>
>>> Are you logging your "revisiting" insights (perhaps in one of your 
>>> portals) so you can share them whenever you feel ready to do so?
>>>
>>> I frequently find my "beginner" notes get more appreciation since they 
>>> provide a "roadmap" for those that follow.
>>>
>>> Just curious, since I already know I am interested enough in BAM to use 
>>> it and I have ideas regarding needs swirling around in my head that I don't 
>>> want to pester you with at this time.
>>>
>>> Cheers,
>>> Hans
>>>
>>>
>>> On Saturday, February 26, 2022 at 6:49:52 PM UTC-5 [email protected] 
>>> wrote:
>>>
>>>> In so many things I've been playing with lately, I've been toying with 
>>>> applying local storage to various things.
>>>>
>>>> Now that I've added session storage capability to BASIC Anywhere 
>>>> Machine, I'm revisiting everything I've been experimenting with re local 
>>>> storage, and updating to session storage when it makes more sense.
>>>>
>>>> If this kind of thing is of interest to you, keep an eye out for 
>>>> previous posts bubbling up as I migrate certain things from local storage 
>>>> use to session storage use.
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki/673f1964-1cfe-4b42-86cc-b1d03db801b9n%40googlegroups.com.

Reply via email to