1. When I initially set the cookie, nothing is set until I hit the refresh button (e1.cgi).
2. When I call another CGI script with post from a form created with e1.cgi, the cookie is gone (e2.cgi). Although if I call the second CGI script from the browser, the cookie is there.
#perl script e1.cgi
...
$cookievalue="User 1";
print "Set-Cookie: user=${cookievalue}\n";
$words=$ENV{'HTTP_COOKIE'};
print <<__;
Content-type: text/html
$words <br>
<form method=post action="e2.cgi">
<INPUT type="submit" value="Submit">
</form>
__
#perl script e2.cgi
...
$words=$ENV{'HTTP_COOKIE'};
print <<__;
Content-type: text/html
$words <br>
</form>
__