Pike v8.0 release 1738

Method Protocols.HTTP.Session()->get_cookies()


Method get_cookies

array(string) get_cookies(Standards.URI|SessionURL for_url, void|bool no_delete)

Description

Get the cookies that we should send to this server, for this url. They are presented in the form suitable for HTTP headers (as an array). This will also take in count expiration of cookies, and delete expired cookies from the Session unless no_delete is true.