[system] / branches / rel-2-3-dev / webwork-modperl / lib / WeBWorK / CGI.pm Repository:
ViewVC logotype

View of /branches/rel-2-3-dev/webwork-modperl/lib/WeBWorK/CGI.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4396 - (download) (as text) (annotate)
Thu Aug 24 21:07:52 2006 UTC (6 years, 8 months ago)
File size: 1290 byte(s)
This commit was manufactured by cvs2svn to create branch 'rel-2-3-dev'.

    1 # choose one
    2 
    3 # standard CGI -- will not work properly with apache2
    4 
    5 #use CGI qw(*ul *li escapeHTML);
    6 
    7 # there are 2 CGI substitutes for apache2:
    8 
    9 # below is a front end for CGIeasytags that imitates some of the
   10 # shortcuts of CGI.
   11 # It is probably not ready for prime time.
   12 # It only concatenates arguments if the first
   13 # argument is a hash (possibly empty) of params.
   14 # This enforces uniformity, but it is also annoying
   15 # The error reporting however is fairly good.
   16 # It is shorter than CGI, but it may not be easy to maintain
   17 # if it seems desirable to use it then the code should be cleaned up
   18 # There are many places where code can be factored out to improve speed
   19 # increase reliability and readability
   20 
   21 #use WeBWorK::CGIeasytags;
   22 
   23 # below is a subclass of CGI that forces CGI to use the WeBWorK Request
   24 # object when finding "sticky" parameters
   25 #
   26 # however: this does not solve the problem we have. bummer.
   27 
   28 #use WeBWorK::CGIParamShim qw(*ul *li);
   29 
   30 # this module deletes all parameters from any CGI object. the effect is to
   31 # disable sticky parameters completely. this seems to solve the problems
   32 # we've been having with parameter management under Apache2. see the tail
   33 # end of the notes in CGIParamShim.pm for more details.
   34 
   35 use WeBWorK::CGIDeleteParams qw(*ul *li);
   36 
   37 1;

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9