The Request and Response Objects
|
Response.Buffer, Expires, ExpiresAbsolute
Response.Buffer
does nothing : the output of all Dynamic-CD's ASP
scripts is always buffered.
Scripts run to completion and then the output is sent to the browser.
Response.Expires and
Response.ExpiresAbsolute
do nothing - Dynamic-CD tells the browser to never cache its
.ASP requests - effectively the value of
Response.Expires is always zero.
Request.ClientCertificate
The call
Request.ClientCertificate
does nothing and does not generate an error.
Request.ServerVariables
This call returns a number of useful server parameters. These include the standard
ASP parameters as well as parameters that are Dynamic-CD specific.
List of all parameters
HTTP_ACCEPT
HTTP_REFERER
HTTP_ACCEPT_LANGUAGE
HTTP_CONTENT_TYPE
HTTP_ACCEPT_ENCODING
HTTP_USER_AGENT
HTTP_HOST
HTTP_CONTENT_LENGTH
HTTP_CONNECTION
ALL_HTTP
ALL_RAW
APPL_PHYSICAL_PATH
CONTENT_LENGTH
DYNCD_HOST
LOCAL_ADDR
|
PATH_INFO
PATH_TRANSLATED
QUERY_STRING
ROOT_DIR
ROOT_DIR_FILE_URL
REMOTE_ADDR
REMOTE_HOST
REQUEST_METHOD
SCRIPT_NAME
SERVER_NAME
SERVER_PORT
SERVER_PROTOCOL
SERVER_SOFTWARE
URL
WINDOWS_TEMP_DIR
|
Description of Dynamic-CD specific parameters
- DYNCD_HOST has the value "Dynamic-CD";
- ROOT_DIR is the DOS path of the Dynamic-CD root directory
- ROOT_DIR_FILE_URL returns the file URL of the Dynamic-CD server root directory
- SERVER_PROTOCOL has the value "HTTP/1.0"
- SERVER_SOFTWARE has the value "PHD-Dynamic-CD"
- WINDOWS_TEMP_DIR is the current user's Windows temporary directory
Response.PICS
The call
Response.PICS
is not currently supported.
Response.IsClientConnected
The call
Response.IsClientConnected
always returns TRUE
Response.CacheControl
The call
Response.CacheControl
does nothing.
Response.AppendToLog
The call
Response.AppendToLog
appends a string to a log file that defaults to
WINDOWS_TEMP_DIR\temp\dyncdlog.txt
where "WINDOWS_TEMP_DIR" is the current user's Windows temporary directory.
The default logfile can changed by a call to
Server.LogFileName .
© Copyright 2000-2003
PHD Computer Consultants Ltd
|