my $user = $q->remote_user; my $password = "password"; # doesn't matter if ($user ne "" and $password ne "") { my $access = &authorize($user,$password); my $c_a = $q->cookie(-name=>'access', -value=>$access, -expires=>$expires); my $c_u = $q->cookie(-name=>'user', -value=>$user, -expires=>$expires); print $q->header(-cookie=>[$c_a, $c_u]) . $q->start_html(-title=>"R3: login", -style=>{-code=>&css()}) . "