Hello List
i'm a perl newbie
does anyone know why this scritp dont set the cookie?????
------------- #!/usr/bin/perl
use strict; use CGI; use CGI::Carp qw(fatalsToBrowser); use Net::LDAP; use CGI::Cookie; use MIME::Base64; my $cgi = new CGI;
my $uid = "cklinger"; my $pw = "klinger"; my $ldauth = "tst" my $pass1 = "$uid:$pw\n";
my $cookie = $cgi->cookie(-name=>'VisitorID', -value=>$ldauth, -path=>'/', -domain=>$AUTH_DOMAIN); # # -secure=>'1');
my $cookie1 = $cgi->cookie(-name=>'BG15-SessionID', -value=>$cookieid, -path=>'/', -domain=>$AUTH_DOMAIN); # -secure=>'1');
print $cgi->header(-cookie=>[$cookie,$cookie1], -location=>"https://rproxy.econtec.de/");
What is $AUTH_DOMAIN set to? It needs to be set to the domain of the site that this script is running from.
-- Andrew Gaffney
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]