I actually have one more question with regards to retrieving the value in the cookie from a different cgi file.
I am using the sample code form the CPAN tutorial
$name = $session->param($username);
printf "<input type=\"text\" name=\$username\" value=\"%s\" />", $name
+;
Just wondering should as in the creating the session, $name here be defined as
my $name ->new CGI() or just
my $name also the value that i passed into the session was
$name = $query->param($username);
$session->param($username, $name);
so in retrieving the cookie am i right to put
$username into the "param" field in the line
$name = $session->param($username);
and into the name field in the line
printf "<input type=\"text\" name=\$username\" value=\"%s\" />", $name
+;
Thanks again