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

I'm using modperl on a website, and I'm generating non-text/html file types (pdf,xls). Under IE, whenever I load one of these pages (inlined in a pop-up window), the modperl script gets called twice, and not always with the CGI parameters it should, causing all different kinds of problems. It seems that second execution of the script is what makes it to the page. Is this a known bug/feature? And are there standard work-arounds? Thanks.

Replies are listed 'Best First'.
Re (tilly) 1: modperl plugin issues?
by tilly (Archbishop) on May 04, 2001 at 01:34 UTC
    I suspect that mod_perl is a red herring. Try it with a regular CGI and see what happens.

    One guess is that the issue is in how you are doing the pop-up. You can test that by trying to make it a regular link.

    Another is that it is a bug in your script where you think that a parameter is being passed but it is being dropped somewhere. Do the usual use strict routine.

    If you still cannot find it, it would probably be helpful if you tried posting code...