Can someone tell me how to unsubscribe from this list..I haven't been able to unsubscribe.
-----Original Message----- From: Victor Danilchenko [mailto:[EMAIL PROTECTED] Sent: Fri 5/4/2007 9:41 AM To: modperl@perl.apache.org Cc: Subject: Re: Help with sending custom headers in mod_perl2 Perrin Harkins wrote: > On 5/2/07, Victor Danilchenko <[EMAIL PROTECTED]> wrote: >> I seem to be missing something very obvious... I have: >> >> $r->header_out("Refresh"=>"0; URL=$uri\n"); > > I think you're looking for this: > > $r->headers_out->add("Refresh"=>"0; URL=$uri\n"); Yup, that was it. Thanks. Unfortunately, it worked, but it didn't help :(. Apparently neither Firefox nor IE honor the Refresh HTTP header when performing the XMLHttpRequest operation in JavaScript, so I will have to figure out a different way to re-process the request upon error. > You were trying to use mod_perl 1 syntax. See this for more: > http://perl.apache.org/docs/2.0/user/porting/compat.html#C__r_E_gt_header_out_ > -- | Victor Danilchenko | Give a man a match, and he will be warm | | [EMAIL PROTECTED] | for a moment; but set him on fire, and | | CSCF | 5-4231 | he will be warm for the rest of his life. | ****************************************************************************************** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, Alltel requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else.