[thelist] redirecting in perl
Algian
algian at algian.com
Thu Aug 2 15:58:55 CDT 2001
hello evolters,
i was just wondering how i can redirect in perl after I've
set a cookie because to set the cookie i us
print "Content-type: text/html\n";
print "Set-Cookie: information=$set_value; expires=$set_expires; path=\n\n";
and a few lines after i tried using
my $place = "http://localhost/" . $redir;
print "Location: $place\n\n";
which obviously just printed out to my screen
Location: http://localhost/whatever/redirection/
is their any other way of loading another page without this happening?
Cheers
Ale
/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\/|\
Alessandro Giannone
Web Anomaly Creator
Edinburgh University
Department of Science & Engineering
\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/\|/
More information about the thelist
mailing list