RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPageDispatcher.OnAfterDispatchPage Event

Occurs after the page dispatcher successfully dispatches an HTTP request message.

Pascal
property OnAfterDispatchPage: TDispatchPageEvent;
C++
__property TDispatchPageEvent OnAfterDispatchPage;

Write an OnAfterDispatchPage event handler to take specific action after an HTTP request has been successfully handled by a Web page module. For example, an OnAfterDispatchPage event handler can maintain a log of all Web traffic handled by the WebSnap application. 

OnAfterDispatchPage occurs only if the target Web page module succeeds in handling the request. If the target Web page module could not be validated, an OnPageAccessDenied event occurs instead. If the page could not be located, an OnPageNotFound event occurs instead. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!