1.14 <SoupCookieJarDB>

Class: <SoupCookieJarDB>

It derives from <SoupCookieJar>.

Database-based Cookie Jar.

CookieJarDB is a CookieJar that reads cookies from and writes them to a sqlite database in the new Mozilla format.

(This is identical to SoupCookieJarSqlite in libsoup-gnome; it has just been moved into libsoup proper, and renamed to avoid conflicting.)

Properties

Cookie-storage filename.

Its value is a string, or #f.

It can only be set when the object is made, with #:filename.

Procedures

Creates a CookieJarDB.

filename will be read in at startup to create an initial set of cookies. If read-only is #f, then the non-session cookies will be written to filename when the "changed" signal is emitted from the jar. (If read-only is #t, then the cookie jar will only be used for this session, and changes made to it will be lost when the jar is destroyed.)

filename

Passed: a string.

the filename to read to/write from, or #f

read-only

Passed: a boolean.

#t if filename is read-only

%return

Returned: a <SoupCookieJar>.

the new <SoupCookieJar>