Id like to set a cookie in Perl and then redirect to another URL.
Ive tried the below code, it will set the cookie but then the browser
hangs, is it because it is 2 requests going to the header at the same
time, or possibly not enought time for the cookie to be set?

print "Set-cookie: value=bob;";
print "Location: http://www.something.com/\n\n";;

Any ideas?

Reply via email to