novitiate has asked for the wisdom of the Perl Monks concerning the following question:
creating web based analogues to the standard ms win32
"net x-command" set. i have it working, but as a spiritual
exercise, i decided to change GET to POST. in a reversal of
forutne, nothing works now. I will occasinally get the expected result back, but often (especially after repeating
a previously sent POST) i get a 500, click on refresh, and there it is, as it should be. Here is the form code:
I have tried putting an expires (yesterday) header in, but it does not seem to work. I also changed $| to a true value. I am running Apache for Win32 version 1.3.12. on WinNT 4 sp 6a, activestate perl 5.6.0. Latest CGI.pm glory be to godsub form() { print $doc->start_multipart_form(-name=>'form1', -method=>'POST', -action=>'netsession.cgi', -enctype=>'multipart/form-data'); print $doc->textfield(-name=>'computer', -size=>15, -maxlength=>15, -override=>1); print "    "; print $doc->submit(); print "  "; print $doc->reset(); print $doc->end_mulitpart_form(); }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: novie perl-CGI user
by mkmcconn (Chaplain) on Mar 19, 2001 at 20:52 UTC | |
by novitiate (Scribe) on Mar 19, 2001 at 21:22 UTC | |
Re: novie perl-CGI user
by mkmcconn (Chaplain) on Mar 20, 2001 at 00:27 UTC | |
Re: novie perl-CGI user
by novitiate (Scribe) on Mar 19, 2001 at 20:26 UTC |
Back to
Seekers of Perl Wisdom