<?xml version="1.0" encoding="windows-1252"?>
<node id="715221" title="Re^2: Problem w/ forking CGI script" created="2008-10-03 12:20:49" updated="2008-10-03 12:20:49">
<type id="11">
note</type>
<author id="439528">
tlm</author>
<data>
<field name="doctext">
&lt;p&gt;Thanks for the tip.  That's good to know in general.&lt;/p&gt;

&lt;p&gt;The way I ultimately solved the problem was to examine the requests generated by both Safari and Firefox.  One important difference was that Firefox was sending a "Keep-Alive: 300" header, while Safari wasn't.  This gave me the idea of modifying the redirection to

&lt;c&gt;
    print redirect( -Location =&gt; self_url(), -Connection =&gt; 'close' );
&lt;/c&gt;

This worked.&lt;/p&gt;

&lt;p&gt;But your suggestion of closing STDERR also works.  I'll do both from now on, for good measure. :-)&lt;/p&gt;

&lt;div class="pmsig"&gt;&lt;div class="pmsig-439528"&gt;
&lt;p&gt;&lt;small&gt;the lowliest monk&lt;/small&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
714883</field>
<field name="parent_node">
714909</field>
</data>
</node>
