SQLITE vs cookie storage
I know that cookies are stored in a SQLITE database. I use a Linux distro and as per the documentation I viewed the cookie file at location '~/.mozilla/firefox/PROFILE_FOLDER/cookies.sqlite' and I can view all the contents as expected.'
However, these two things are bugging me if someone can please help me:
(i) SQLITE isn't a server connected database (it just offers minimal functionality) and since cookies are something accessed by server side from http headers with every request how does that work out?
(ii) Session storage key value pairs are stored in '~/.mozilla/firefox/PROFILE_FOLDER/webappsstore.sqlite' however, when I create session storage key value pairs and without closing the tab if I try viewing the session key; I can't find the key value pairs. I tried with Local storage and it works however with session storage it does not show me the key value pair in database.