« GRITZ Home | Email msg. | Reply to msg. | Post new | Board info. Previous | Home | Next

Re: Cookies 

By: micro in GRITZ | Recommend this post (1)
Mon, 18 Aug 25 2:27 AM | 20 view(s)
Boardmark this board | Grits Breakfast of Champeens!
Msg. 11752 of 12375
(This msg. is a reply to 11724 by De_Composed)

Jump:
Jump to board:
Jump to msg. #

Hi
De

I just ate some delicious cookies my granddaughter baked a day ago. They were yummy. I thought that's what coookies were for: to be eaten.....

I jes learnt sumpin new.... Thumbs Up




» You can also:
- - - - -
The above is a reply to the following message:
Cookies
By: De_Composed
in GRITZ
Sun, 17 Aug 25 3:56 PM
Msg. 11724 of 12375

Did you know that for most modern browsers, cookies are not files? They're just entries in a database typically found at %LocalAppData%\Google\Chrome\User Data\Default\Network\Cookies for Chromium-based browsers and %LocalAppData%\Microsoft\Edge\User Data\Default\Network\Cookies for Edge. You can actually review and delete them manually, but you'd need to have your browsers shut down at the time or they'd just come right back. Browsers store them in a cache when they run.

The table structure for Chrome browsers is:


CREATE TABLE cookies (
creation_utc INTEGER NOT NULL,
host_key TEXT NOT NULL,
name TEXT NOT NULL,
value TEXT NOT NULL,
encrypted_value BLOB NOT NULL,
path TEXT NOT NULL,
expires_utc INTEGER NOT NULL,
is_secure INTEGER NOT NULL,
is_httponly INTEGER NOT NULL,
last_access_utc INTEGER NOT NULL,
has_expires INTEGER NOT NULL DEFAULT 1,
is_persistent INTEGER NOT NULL DEFAULT 1,
priority INTEGER NOT NULL DEFAULT 1,
samesite INTEGER NOT NULL DEFAULT -1,
source_scheme INTEGER NOT NULL DEFAULT 0,
source_port INTEGER NOT NULL DEFAULT -1,
is_same_party INTEGER NOT NULL DEFAULT 0
);

I'd show you the content but it wouldn't do you much good since most of it is encrypted. HOWEVER, python scripts for decrypting it are available if you guys are interested.. Let me know or ask Grok.

My interest in this today came about from noticing that my cookie summary report says that I have 163 cookies, but CCleaner tells me I have 62. It turns out that some cookies are excluded by CCleaner when it does its cleanup. That makes sense - CCleaner does not act on cookies that are already marked for deletion. In other cases it's just self-serving: CCleaner's own cookies are in the cookies database and I have a feeling that it doesn't want you deleting those.


« GRITZ Home | Email msg. | Reply to msg. | Post new | Board info. Previous | Home | Next