RAD Studio VCL Reference
|
Occurs just before the dispatcher passes a request message to a Web page module.
property OnCanViewPage: TCanViewPageEvent;
__property TCanViewPageEvent OnCanViewPage;
Write an OnCanViewPage event handler to customize the way the WebSnap application determines whether a given request can be passed to a Web page module for processing. This event is part of the mechanism by which the dispatcher validates a Web page for viewing. The validation process, which occurs after the OnBeforeDispatchPage event, occurs as follows:
a. First, the dispatcher generates an OnPageAccessDenied event, where the application can handle the login process.
b. If the OnPageAccessDenied event handler does not handle the login process, the dispatcher forwards the request to the login page specified by the end user adapter's LoginPage property.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|