OK, I'm still having a problem.
I still can't seem to manipulate the cookie data. Say I want to record
someone's name and then print out "hello so-and-so" when they return to my
site. (That's not what this is actually for, but it's the same idea.) Why
doesn't the code below work on the second visit to the page?
It doesn't seem to work in an if() { structure either.
Thanks in advance.
use strict;
use CGI;
my $q = CGI->new;
#note that the value of '-value' is now
quoted.
my $myCookie = $q->cookie( -name => 'Fyre',
-value => 'test',
-expires => '+3M',
-domain => '.biola.edu');
print $q->header( -cookie => $myCookie );
my
$cookie_value = $q->cookie( 'Fyre' );
print $cookie_value;
-John Stokes
[EMAIL PROTECTED]
Three pillars: Humility, Communication, Balance