An implementation of a cgi++ application begins with creating a class which
Web class. The
Web class contains code to interpret information
from the web server (apache / IIS) such as cookies and form posts (using the
Another base class to use is the MenuWeb class. It complements the
class with automatic menu functions. The example below will use this as the base
Web class is initialized with the Cookie domain and Cookie path,
to be used in http 'Set-Cookie:' headers.
There are four methods that needs to be implemented in our inherited
These methods are all called, in above sequence, by another method named
Execute ( ).
In short, they do as they are named. All methods have default implementations
that could, and sometimes should, be used.