Switch to Italian
Giovanni's logo
September 2001 updates
this means Version 2
blue line
This page highlights the most important updates in the CGIDEV2 September 2001 refresh.
For a comprehensive and uptodate list of all subprocedures available in the cgidev2/cgisrvpgm2 service program, please check out our readme page.

Highlights
  1. The maximum number of sections that can be loaded in memory has been raised from 200 to 1000

  2. CGI programs will no longer fail when loading an external html where an output variable is missing its right delimeter.
    In such a case, the entire line containing the error is displayed as a string of asterisks.

  3. New subprocedures to be used in conjunction with zhbgetinput (See this page for details)
    • ZhbCountAllVars - returns the number of occurrences of all variables in the CGI input.
    • ZhbGetVarDetails - returns the following information on the user-specified nth input variable (out of those counted with ZhbCountAllVars): variable name, variable occurrence number, indicator (char 0/1) whether variable was found, value of the variable.

  4. New subprocedure for loading the external HTML
    • Subprocedure getHtmlIfsMult allows to read into memory multiple externally described HTML IFS files. All the sections and records in all the files are read into dynamic storage as though they resided in a single file. If a section name appears more than once, only the first occurrence is used.
      This new feature allows to maintain as separate HTML files frequently used pieces of HTML code, such as headers, footers, navigation bars, etc.. In several cases, breaking html code into separate modules may greatly reduce both development and maintenance times.
      See this page for details.
      Run the related demo.

  5. New facilities for handling HTML variables
    • Subprocedure updHtmlVar now supports a new parameter that controls the trimming of the substitution value. This is very important in specific cases, such as the case where an output field is subsequently used as input field for a key search.
      See this page for details.
    • Subprocedure crtTagOpt provides an easier way to create "option" tags for selection lists.
      See the readme for details.

  6. New facilities for handling HTML output buffer
    • Subprocedure clrHtmlBuffer clears any HTML output that has been buffered but has neither been sent to the browser nor written into a stream file.
      See this page for details.

  7. New facilities for handling cookies
    • Subprocedures crtCookie and getCookiebyName provide easier ways to create and to retrieve cookies through CGI.
      See this page for details.