RAD Studio VCL Reference
|
Occurs before the page dispatcher dispatches an HTTP request message in response to an internal redirection request.
property OnBeforeRedirectToPage: TDispatchPageParamsHandledEvent;
__property TDispatchPageParamsHandledEvent OnBeforeRedirectToPage;
Write an OnBeforeRedirectToPage event handler to take specific action before an HTTP request is redirected to a Web page module. This event only occurs if an adapter in the WebSnap application executes an adapter action whose options include a redirection (roRedirectHTTPGet or roRedirectHTTPPost).
If the event handler sets Handled to true, the dispatcher assumes it has handled the request and performs no further processing. Otherwise, after the event handler exits, the page dispatcher calls on the Web Module to set up the response message and call SendRedirect.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|