in reply to redirect and cookie problems
Print the cookie with the redirection and don't print any other headers.
print $query->redirect( -uri => 'http://www.perlmonks.org/', -cookie => $cookie );
Note: this doesn't work on IIS 3, 4, or 5 due to a bug. You'll have to add "-nph => 1" to the redirection to get it to work (i.e. use NPH scripts).
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|