Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Protocols
Protocols.HTTP
Protocols.HTTP.Session

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


Method get_cookies

array(string) get_cookies(Standards.URI|SessionURL for_url, void|int(0..1) 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.