in reply to problem using the set-cookie and the Location headers together
Use CGI. Use CGI!
my $q = CGI->new; my $cookie = $q->cookie ( -name => 'PLAETZCHEN', -value => Digest::MD5::md5_hex(time.{}.rand().$$), ); print $q->redirect (-cookie => $cookie, -uri => $url);
and use an absolute URL.
|
|---|