Skip to main content
ATL Server Library Reference 
Request Initialization Flags 

These macros are used as flags to be returned from a request handler's GetFlags method.


#define  ATLSRV_INIT_USECACHE       1 
#define  ATLSRV_INIT_USEASYNC       2 
#define  ATLSRV_INIT_USEASYNC_EX    4
Flag Description

ATLSRV_INIT_USECACHE

Specifies that the response generated by the request handler will be cached unless the request handler later decides that it should not be cached by returning HTTP_SUCCESS_NO_CACHE or calling IPageCacheControl::Cache. See CCacheServerContext for more details.

ATLSRV_INIT_USEASYNC

Specifies that the request handler is intending to write to the client asynchronously and all the data is to be written at once. See Writing Asynchronous Web Applications for details.

ATLSRV_INIT_USEASYNC_EX

Specifies that the client is intending to write to the client asynchronously in multiple stages. See Writing Asynchronous Web Applications for details.

Header: atlisapi.h