Apache2::Cookie

"Adam Prime" <[email protected]>
Newsgroups gmane.comp.apache.apreq
Message-ID <[email protected]>
According to the docs

http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__cookie.html#expires

Expires is a get_set style function.  However, when i try to get with
it, it fails like this:

Usage: APR::Request::Cookie::expires(c, time_str)

according to the APR::Request::Cookie docs

http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__apr__request__cookie.html

expires is set-only.

The documentation should be updated to reflect that the function is
set-only.  The expiry of a cookie is not sent back to the server by a
client, so there's no way to get it anyway.

Adam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.