I am sending data from A.cgi page to B.cgi. The later page updates the data into database and supposed to redirect back to A.cgi and the A.cgi page should display the updated data. Aftere going through PerlMonk's archived answers, I wrote the following lines in the B.cgi page, right after the database update code:
$url = "http://Myserver/Travel/cgi-bin/A.cgi/";
print "Location: $url\n\n";
After successfully finishing the database jobs, the page simply prints Location:http://Myserver/Travel/cgi-bin/A.cgi/ and stays at B.cgi and never gets redirectd to A.cgi.
Any help to resolve this issue is greatly appreciated.