https://bz.apache.org/bugzilla/show_bug.cgi?id=60910

--- Comment #8 from Lubos Uhliarik <[email protected]> ---
Also found out, why
http://svn.apache.org/repos/asf/httpd/test/framework/trunk/t/modules/session_cookie.t
is passing:

in your testconfig, there is "SessionMaxAge 1" directive, which adds "expiry"
keypair to Set-Cookie header field, therefore ap_cookie_write is triggered
instead of ap_cookie_remove (z->encoded is not null). 

>From mod_session_cookie.c:

    /* create RFC2109 compliant cookie */
    if (conf->name_set) {
        if (z->encoded && z->encoded[0]) {
            ap_cookie_write(r, conf->name, z->encoded, conf->name_attrs,
                            z->maxage, r->err_headers_out,
                            NULL);
        }
        else {
            ap_cookie_remove(r, conf->name, conf->name_attrs,
                             r->err_headers_out, NULL);
        }
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to