A.6. Sending Multiple Cookies with the mod_perl API
Given that you have prepared your
cookies in
@cookies, the following code will submit all the
cookies:
for (@cookies) {
$r->headers_out->add('Set-Cookie' => $_);
}
 |  |  |
| A.5. Handling Cookies |  | A.7. Sending Cookies in REDIRECT Responses |
Copyright © 2003 O'Reilly & Associates. All rights reserved.