Syntactic Confectionery Delight | |
PerlMonks |
RE: Re: Recommended modules for handling cookies?by btrott (Parson) |
on Mar 29, 2000 at 02:49 UTC ( [id://6384]=note: print w/replies, xml ) | Need Help?? |
Just try using "sub.domain.com" as the domain. If that's
what your domain always is (ie. you don't have other domains
like "foo.domain.com" that you want to set the same cookie
for), just use that. And it's "HTTP_COOKIE", not "HTTP-COOKIE". It's an underscore ("_"). And, finally, you really should be using CGI::Cookie. From the docs: To set cookies: To fetch cookies: Read the documentation for more info, particularly on setting the domain (look at the code setantae posted).
In Section
Seekers of Perl Wisdom
|
|