RequestStart

Description

Occurs at the beginning of page processing, before server-side objects have been created and before any data binding or variable retrieval.

Applies to

psPage object

Arguments

None

Returns

Boolean. If false is returned, no other processing occurs. If true is returned, processing continues normally. You must include a return value in the event script.

Usage

This event allows advanced users to short-circuit the normal processing. Input parameters are made available by calling the psDocument.GetParam method. Page variables are not valid during this event.

NoteError processing Because this event is triggered before generation occurs, psDocument.Write cannot be used for reporting errors. Instead, you can use the ReportError method on the psPage object to trigger the ServerError event. The error is then added to the error log, depending on the ServerError return value.

See also