Hi everyone,
I finally got a cookie to work. Now whenever I go to this page, I am greeted with,
"Hello Katherine". But there is still one problem. It doesn't work in IE. I have
tested on both Mac and PC. Can anyone help with this? Have you ever had problems with
cookies in Internet Explorer?
Steve,
Thanks for your help. I do not know why I am not setting the cookie. What I want is to
set the user's first name in the value of the cookie, so that each time they return to
that page, I will be able to say, "Welcome firstName". This is just an exercise so
that I can learn how to set
#!/usr/bin/perl -w
use strict;
use CGI qw(:standard);
use CGI::Carp qw(fatalsToBrowser);
my $current_time;
$current_time = localtime();
## Since you never set this cookie it is not worth anything and is being
removed
## my $cookievalue = cookie( -NAME => "TestCookie" );
my $cookie = c
Hi everyone,
I'm trying to learn how to write and retrieve cookies. I haven't been able to figure
out how to save a cookie based on the user's name. I can save and retrieve a constant
cookie, but when I try to use a variable, the program will not compile. This must be a
simple task, but I ca