This documentation is archived and is not being maintained.

Request Initialization Flags

Visual Studio .NET 2003

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

Remarks

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.

Requirements

Header: atlisapi.h

See Also

ATL Server | ATL Server Reference | ATL Server Macros | DECLARE_ASYNC_HANDLER | DECLARE_ASYNC_HANDLER_EX

Show: