RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLoginFormAdapterLoginAction.ImplExecuteActionRequest Method

Executes the adapter action using parameters passed in the HTTP request.

Pascal
procedure ImplExecuteActionRequest(AActionRequest: IActionRequest; AActionResponse: IActionResponse); override;
C++
virtual __fastcall ImplExecuteActionRequest(IActionRequest AActionRequest, IActionResponse AActionResponse);

ImplExecuteActionRequest uses the user name and password passed in the HTTP request to log the user in. Exceptions are raised if the user name or password contain invalid values or if the user name/password is not known. If an exception is raised the exception message is added to the parent adapter's error list and the echo flag is set to true. If the login is successful then ImplExecuteActionRequest causes an HTTP redirect to the page specified in the next page field. 

 

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