home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


add_cookie_header

 $

cjar


->add_cookie_header
($

request

)

Adds appropriate Cookie headers to an HTTP::Request object $request . $request must already be created with a valid URL address. This method will search the cookie jar for any cookies matching the request URL. If the cookies are valid (i.e., have not expired) they are used to create Cookie headers and are added to the request.


Previous: 17.3 The HTTP Modules Perl in a Nutshell Next: Reference: as_string
17.3 The HTTP Modules Book Index Reference: as_string

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.