CookieJarDB


Description:

[ CCode ( has_construct_function = false , type = "SoupCookieJar*" ) ]
public CookieJarDB (string filename, bool read_only)

Creates a CookieJarDB.

filename will be read in at startup to create an initial set of cookies. If read_only is false, then the non-session cookies will be written to filename when the [signal@CookieJar:SoupCookieJarDB:changed ] signal is emitted from the jar. (If read_only is true, then the cookie jar will only be used for this session, and changes made to it will be lost when the jar is destroyed.)

Parameters:

filename

the filename to read to/write from, or null

read_only

true if filename is read-only

Returns:

the new CookieJar