You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Adam Prime <ds...@gmail.com> on 2008/01/08 22:08:02 UTC

Apache2::Cookie

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