NAME

Apache::Wyrd::Cookie - Consistency wrapper for Apache::Cookie and CGI::Cookie

SYNOPSIS

use Apache::Wyrd::Cookie;
#$req is Apache request object
my $cookie = Apache::Wyrd::Cookie->new(
	$req,
	-name=>'check_cookie',
	-value=>'checking',
	-domain=>$req->hostname,
	-path=>($auth_path || '/')
);
$cookie->bake;

my %cookie = Apache::Wyrd::Cookie->fetch;
my $g_value = $cookie{'gingerbread'};

DESCRIPTION

Wrapper for Apache::Cookie or CGI:Cookie cookies. This class is provided for no other reason than to make the new and bake methods consistent in their requirements, which they are not normally. Otherwise, Apache::Wyrd::Cookie behaves entirely like Apache::Cookie and takes the same arguments to its methods. Please refer to the documentation for that module.

BUGS/CAVEATS/RESERVED METHODS

UNKNOWN

AUTHOR

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO

Apache::Wyrd

General-purpose HTML-embeddable perl object

Apache::Cookie

Cookies under Apache

LICENSE

Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.