http://qs321.pair.com?node_id=31221

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I have a form which calls perl script "a.pl". This script does some managerial tasks and then sends a redirection back to the browser. Although, this redirection is the path to another perl script "b.pl" which produces some output to the user. The problem is that even though script "b" gets accessed (it is on a protected area so i can see the authentication box poping up) it never returns any output. Actually, the browser waits indefinetelly till i get an IO timeout. What's the correct method of redirecting from a script to another script?

Note1: I've even tried puting "b" in the same (non-protected) area as script "a" but i get the same result.
Note2: Script "b" itself (i.e. calling it directly) produces the expected output.

Note3: My server's error log:
[06/Sep/2000:12:45:53] warning (22941): for host 10.xxx.xxx.xxx trying + to GET /cgi/b.pl, start-http-response reports: write failed (Broken +p ipe) [06/Sep/2000:12:45:53] warning (22941): for host 10.xxx.xxx.xxx trying + to GET /cgi/b.pl, start-http-response reports: write failed (Broken +p ipe) [06/Sep/2000:12:48:39] failure (22941): for host 10.xxx.xxx.xxx trying + to GET /cgi/b.pl, cgieng_send_content reports: error occurred while +sending content to script (IO timeout error)
Any help really appreciated!
-n-

Originally posted as a Categorized Question.