|
Apache::Wyrd::Cookie - Consistency wrapper for Apache::Cookie and CGI::Cookie |
Apache::Wyrd::Cookie - Consistency wrapper for Apache::Cookie and CGI::Cookie
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'};
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.
UNKNOWN
Barry King <wyrd@nospam.wyrdwright.com>
Copyright 2002-2004 Wyrdwright, Inc. and licensed under the GNU GPL.
See LICENSE under the documentation for Apache::Wyrd.
|
Apache::Wyrd::Cookie - Consistency wrapper for Apache::Cookie and CGI::Cookie |