Ignore:
Timestamp:
1999-07-11T10:15:30+12:00 (25 years ago)
Author:
rjmcnab
Message:

Added function check_external_cgiargs so that actions that
are not being called can override cgi arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/action.cpp

    r261 r361  
    1212/*
    1313   $Log$
     14   Revision 1.12  1999/07/10 22:15:30  rjmcnab
     15   Added function check_external_cgiargs so that actions that
     16   are not being called can override cgi arguments.
     17
    1418   Revision 1.11  1999/06/08 04:29:41  sjboddie
    1519   added argsinfo to the call to check_cgiargs to make it easy to set
     
    120124}
    121125
     126// check_external_cgiargs should be called after check_cgiargs
     127// for all actions. It should only be used to override some other
     128// normal behaviour, for example, producing a login page when
     129// the requested page needs authentication.
     130bool action::check_external_cgiargs (cgiargsinfoclass &/*argsinfo*/,
     131                     cgiargsclass &/*args*/,
     132                     outconvertclass &/*outconvert*/,
     133                     const text_t &/*saveconf*/,
     134                     ostream &/*logout*/) {
     135  return true;
     136}
     137
    122138// get_cgihead_info determines the cgi header information for
    123139// a set of cgi arguments. If response contains location then
Note: See TracChangeset for help on using the changeset viewer.