OK,
- Sorry for screwing up with the - which should have been _. That's what my code has.
- The cookie does get set, with a later expiration date than today.
- The cookie is in my netscape cookies file.
- Here's that snippet of code:
$cookie = $ENV{HTTP_COOKIE};
$name="cookie_name";
$value="cookie_value";
$cur_date = "Tue 28 Mar 2000 13:49:23 -0500";
$expires_date="Wed, 29 Mar 2000 13:49:23 -0500";
$path = "/";
$domain = ".tripod.com";
print "Content-type: text/html\n";
print "Set-cookie: $name=$value; date=$cur_date; expires=$expires_date
+; path=$path; domain=$domain";
print "
<html><body>$cookie</body></html>
";
HELP! What is fishy to me are my dates! And what exactly is that -0500 doing there? (I got this code from somewhere else)