5.2. Important Variables

5.2.1. Request Dynamic Variables

The variables described here are bound for the duration of an active request, from the point that an active session is identified, to the close of the output stream to the client.

Table 5-1. Dynamic Variables

Variable NameMeaning
*active-application*The active application.
*active-session*The active session object.
*active-request*The active request object.
*active-url*The active (base) URL of the element being constructed.
*active-components*A hash table of component classes that is constructed as the page/return elemnt is assembled.
*response-type*The MIME type of the response.

5.2.2. Other Variables

These others mostly have to do with logging and error recovery behavior.

Table 5-2. IMHO Variables

Variable NameMeaning
*lisp-server-port*The port on which IMHO listens for incoming mod_webapp requests. Default is 8007.
*imho-serving*'t' if requests are being accepted for processing.
*imho-active-apps*each key of this hash-table is the base URL or a running application[a]; each value is a reference to the application class-instance which is running at that URL
*production*A variable that, when non-nil, currently serves to disable interactive debugger activation; may be overriden by *debug-on-errors*
Notes:
a. see: defapplication; init/application