Hello everybody,
I have Linux Enterprise v4 apache 2.0.58 and perl 5.8.5. I have one web page domain1 (users are recognized by domain1cookie) I would like to move my web page to new domain2 and I would like users to be recognized by domain2cookie (which would have the some value as domain1cookie just different name). Index.cgi script1 on domain1: " #!/usr/bin/perl require "cgi-lib.pl"; use DBI; use CGI qw(:standard); my $cgi = new CGI; my $cookie; my $domain2path = http://www.domain2.com/index.cgi; $cookie = $cgi->cookie("domain1cookie"); $cookieOut = $cgi->cookie( -name => 'domain2cookie', -value => $cookie, -domain => '.domain2.com', -expires => '+1d'); print $cgi->redirect( -cookie => $cookieOut, -location => $domain2path ); # (*) " Index.cgi script2 on domain2: #!/usr/bin/perl require "cgi-lib.pl"; use DBI; use CGI qw(:standard); $cookie = $in{'cookie'}; #can read cookie value pass in GET (**) $cookie = $cgi->cookie("domain2cookie"); #$cookie is empty (**) " When in IE browser I hit http://www.domain1.com/cgin-bin/main I'm being redirected to http://www.domain2.com/index.cgi but -domain2cookie is not send. I have for test purpose sent cookie in GET (*) print $cgi->redirect( -location => $domain2path?cookie=$cookie ); When I could read cookie in (**) Regards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/