Hi,
I am trying to get a perl script to do some processing (decide what to do next) and then redirect to the next page.
Here is code snippet:
if ($query->param('button') eq 'Next')
{
$url="next.pl";
}
else
{
$url="last.pl";
}
print $query->redirect($url);
When i run this code I get
"Status: 302 Moved location: last.pl "
How do i get my script to redirect to the next (perl) page?
SD
I am trying to get a perl script to do some processing (decide what to do next) and then redirect to the next page.
Here is code snippet:
if ($query->param('button') eq 'Next')
{
$url="next.pl";
}
else
{
$url="last.pl";
}
print $query->redirect($url);
When i run this code I get
"Status: 302 Moved location: last.pl "
How do i get my script to redirect to the next (perl) page?
SD