Skip to main content
ATL Server Library Reference 
CRequestHandlerT::ValidateAndExchange 

Override this nonvirtual method to initialize the request handler.


HTTP_CODE ValidateAndExchange( );

Returns HTTP_SUCCESS or another ATL Server status code indicating success or failure.

Add initialization code to your override of this method. Form processing can be done from this method. Both the request and response object are available for use from this method. The default implementation of the method in this class simply returns HTTP_SUCCESS.