this time I am having trouble with a cookie: i have written a script that sets a cookie:
use CGI qw/:standard/;
use CGI::Cookie; ## create cookie
my $cookie = new CGI::Cookie(-name=>'ptsbook',-value=>"$membusrname"); ## send cookie
print "Set-Cookie: $cookie\n";and then i try to get this cookie in another web page like this:
## get cookie
## use CGI
use CGI qw/:standard/;
use CGI::Cookie; ## get cookie
if (fetch CGI::Cookie)
{
my %newcook = fetch CGI::Cookie;
my $ckpass = $newcook{'ptsbook'}->value;
}BUT $ckpass is empty - I cant figure out if its the way i have set the cookie with a var name:
-value=>"$membusrname");
or if its the way I am picking up the cookie - please help as I am almost finnished with this project !!!!!!
_________________________________________________________________ MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
