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


clear

 $

cjar


->clear
( [

domain

, [

path

, [

key

] ] ])

Without arguments, this method clears the entire contents of the cookie jar. Given arguments, cookies belonging to a specific domain , path , or with a name, key , will be cleared. The arguments are ordered for increasing specificity. If only one argument is given, all cookies for that domain will be deleted. A second argument specifies a distinct path within the domain . To remove a cookie by keyname, you must use all three arguments.


Previous: Reference: as_string Perl in a Nutshell Next: Reference: extract_cookies
Reference: as_string Book Index Reference: extract_cookies

Library Navigation Links

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