my $cookie = cookie( -NAME=> $cookie, -VALUE=> $pw, -EXPIRES => "+24h", ); print header(-COOKIE => $cookie, -expires=>'now');