RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPageDispatcher.OnIsLoginRequired Event

Occurs when a request arrives from a caller that has not yet logged in.

Pascal
property OnIsLoginRequired: TLoginRequiredEvent;
C++
__property TLoginRequiredEvent OnIsLoginRequired;

Write an OnIsLoginRequired event handler to customize the way the WebSnap application determines whether a caller must log in before obtaining access to a requested page. This event occurs after the OnBeforeDispatchPage event if the caller has not already logged in to the WebSnap application. 

If there is no OnPageAccessDenied event handler, or if the OnPageAccessDenied event handler does not handle the login process, the dispatcher obtains a response message from the login page specified by the end user adapter. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!