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.
In reply to Re: problem using the set-cookie and the Location headers together
by shmem
in thread problem using the set-cookie and the Location headers together
by motasem1973
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |