simple CGI and ASP

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi all,

The scenario is unix box+apache+asp+perl.

I've the following code:
                use strict;
                use warnings;
                use CGI;
                my $web = new CGI;
                my @all = $web->param;

                print "RM: ".$ENV."\n";
                my $v;
                if ($web->param)
                        $v = $web->param( 'variabile' );
                        print "I was given a value: $v\n";
                        print "Got no value\n<br>";

        <form method="post" action="/table_example/form.html">
                <input type="hidden" name="variabile" value="value">
                <input type="submit" value="Continue">

if I use the POST method in the form I'm not able to read the value
passed by the form.
Instead if I use the GET I'm able to get the information.

Any ideas?


Re: simple CGI and ASP

isecc wrote:
Quoted text here. Click to load it

I'm unable to duplicate your problem using Apache 2.2, Perl 5.8.8
(ActiveState build 822) with normal CGI, Firefox 3.0.2, all on Windows
XP SP3 (with, of course, "print $web->header;" added).  Works fine with
either GET or POST.  Might be something with ASP?  I doubt it has
anything to do with Perl.

Quoted text here. Click to load it


Site Timeline