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

I have a Perl application (IIS6, ActivePerl 5.8.8, PerlEx) which from time to time enters a state in which part of the HTTP request is missing - e.g. some of the post variables are not available through CGI::param(). Has anyone seen something similar or does anyone have a potential solution to this problem. Thanks in advance Horace

Replies are listed 'Best First'.
Re: CGI.pm - lost portions of request
by moritz (Cardinal) on Nov 23, 2008 at 17:19 UTC
    First you should install the latest CGI.pm from CPAN, it contains bug fixes for various issues.

    If that doesn't solve the problem, capture the HTTP traffic with the traffic analyzing tool of your choice (I use wireshark for that), and check that the POST variables are actually in the request, and not in the CGI params. If you've confirmed that, open a bug report at rt://CGI.pm and include these informations.

Re: CGI.pm - lost portions of request
by bart (Canon) on Nov 24, 2008 at 08:58 UTC
    What kind of post variables are you talking about... a file upload? Check boxes?
Re: CGI.pm - lost portions of request
by Anonymous Monk on Nov 23, 2008 at 16:45 UTC
    If the variables aren't available, they did not get transmitted
Re: CGI.pm - lost portions of request
by CountZero (Bishop) on Nov 23, 2008 at 16:53 UTC
    Sorry but the module psychic.pm is not running anymore ...

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      That works both ways. He has no idea what to look at and he can't psychic that information from you.
        Indeed, but maybe that will drive the point home.

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James