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