httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Prime" <dsaljura...@gmail.com>
Subject Apache2::Cookie
Date Tue, 08 Jan 2008 21:08:02 GMT
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

Mime
View raw message