View | Details | Raw Unified | Return to bug 60910
Collapse All | Expand All

(-)modules/session/mod_session_cookie.c (-4 / +4 lines)
Lines 64-74 Link Here
64
    if (conf->name_set) {
64
    if (conf->name_set) {
65
        if (z->encoded && z->encoded[0]) {
65
        if (z->encoded && z->encoded[0]) {
66
            ap_cookie_write(r, conf->name, z->encoded, conf->name_attrs,
66
            ap_cookie_write(r, conf->name, z->encoded, conf->name_attrs,
67
                            z->maxage, r->headers_out, r->err_headers_out,
67
                            z->maxage, r->err_headers_out,
68
                            NULL);
68
                            NULL);
69
        }
69
        }
70
        else {
70
        else {
71
            ap_cookie_remove(r, conf->name, conf->name_attrs, r->headers_out,
71
            ap_cookie_remove(r, conf->name, conf->name_attrs,
72
                             r->err_headers_out, NULL);
72
                             r->err_headers_out, NULL);
73
        }
73
        }
74
    }
74
    }
Lines 77-88 Link Here
77
    if (conf->name2_set) {
77
    if (conf->name2_set) {
78
        if (z->encoded && z->encoded[0]) {
78
        if (z->encoded && z->encoded[0]) {
79
            ap_cookie_write2(r, conf->name2, z->encoded, conf->name2_attrs,
79
            ap_cookie_write2(r, conf->name2, z->encoded, conf->name2_attrs,
80
                             z->maxage, r->headers_out, r->err_headers_out,
80
                             z->maxage, r->err_headers_out,
81
                             NULL);
81
                             NULL);
82
        }
82
        }
83
        else {
83
        else {
84
            ap_cookie_remove2(r, conf->name2, conf->name2_attrs,
84
            ap_cookie_remove2(r, conf->name2, conf->name2_attrs,
85
                              r->headers_out, r->err_headers_out, NULL);
85
                              r->err_headers_out, NULL);
86
        }
86
        }
87
    }
87
    }
88
88

Return to bug 60910