Method Protocols.HTTP.Session()->encode_cookies()
- Method
encode_cookies
Method decode_cookies
string
encode_cookies()
void
decode_cookies(string
data
,void
no_clear
)- Description
Dump all cookies to a string and read them back. This is useful to store cookies in between sessions (on disk, for instance). decode_cookies will throw an error upon parse failures. Also note, decode_cookies will clear out any previously learned cookies from the Session object, unless no_clear is given and true.