I'm developing ASP pages with Perl, and I need to set cookies.
I use this (successfully) to set a value:
$Response->Cookies('name')->{Value} = "whatever";
However, the value is the only thing I can set in this manner. I also need
to set the domain and expiration for each cookie. The Perl-Win32-ASP FAQ
tells me that this should work:
$Response->Cookies('name')->Item('Expires')->{Value} = "December 31, 2005";
But when I try to do that from my page, I get the following error:
Can't use an undefined value as a HASH reference.
I'm not using "use Strict" or anything of the sort, and I'm absolutely
baffled as to why the exact cutting out of the FAQ wouldn't work on my
system.
Can anyone point me in the right direction?
thank you in advance.
Michael Hall
Database Engineer
Prairie Fire Web Design
[EMAIL PROTECTED]
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web