IIS ASP内置对象参考

68 页, 更新于2019-06-24

ActiveX Data Objects

205 页, 更新于2019-06-05

XMLDOM对象参考

278 页, 更新于2017-09-06

XSLT参考手册

145 页, 更新于2017-08-12

AspUpload说明文档

20 页, 更新于2016-05-07

AspJpeg说明文档

23 页, 更新于2016-04-27

IIS ASP内置对象参考 Session.Contents.Remove Method

The Remove method deletes a specific item from the Session object's Contents collection. Contents.Remove( ) Parameters This method has no parameters. Return Values This method has no return values. Parameters Item The name of the member to remove from the collection. Index The index entry for the member to remove from the collection. Example Code The following example adds and removes a variable n

IIS ASP内置对象参考 Session.Abandon Method

The Abandon method destroys all the objects stored in a Session object and releases their resources. If you do not call the Abandon method explicitly, the server destroys these objects when the session times out. Abandon( ) Parameters This method has no parameters. Return Values This method has no return values. Example Code The following example causes the session state to be released when the se

IIS ASP内置对象参考 Response.IsClientConnected

The IsClientConnected property is a read-only property that indicates if the client has reset the connection to the server. Syntax Response.IsClientConnected ( ) Applies To Response Object Remarks This property enables you greater control over circumstances where the client may have reset the connection to the server. For example, if a long period of time has elapsed between when a client request

IIS ASP内置对象参考 Response.ExpiresAbsolute

The ExpiresAbsolute property specifies the date and time at which a page cached on a browser expires. If the user returns to the same page before that date and time, the cached version is displayed. If a time is not specified, the page expires at midnight of that day. If a date is not specified, the page expires at the given time on the day that the script runs. Syntax Response.ExpiresAbsolute [=[

IIS ASP内置对象参考 Response.Expires

The Expires property specifies the duration of time before a page that is cached on a browser expires. If the user returns to the same page before it expires, the cached version is displayed. Syntax Response.Expires [**=**number] Parameters number The time, in minutes, before the page expires. Use -1 to specify immediate expiration. IIS returns an error if this number exceeds January 18, 2038 when

IIS ASP内置对象参考 Response.ContentType

The ContentType property specifies the HTTP content type for the response. If no ContentType is specified, the default is text/HTML. Syntax Response.ContentType [**=**ContentType] Parameters ContentType A string describing the content type. This string is usually formatted as type/subtype, where type is the general content category, and subtype is the specific content type. For a full list of supp

IIS ASP内置对象参考 Response.CodePage

For the current response, the Response.CodePage property specifies, how strings are encoded in the intrinsic objects. A code page is a character set that can include numbers, punctuation marks, and other glyphs. Codepages are not the same for each language. Some languages, such as Japanese and Hindi, have multibyte characters, while others, like English and German, only need one byte to represent

IIS ASP内置对象参考 Response.Charset

The Charset property appends the name of the character set (for example, ISO-8859-13) to the content-type header in the Response object. Syntax Response.Charset(CharsetName) Parameters CharsetName A string that specifies a character set for the page. The character set name is appended to the content-type header in the Response object. Applies To Response Object Remarks This property inserts any st

IIS ASP内置对象参考 Response.CacheControl

The CacheControl property enables you to set the HTTP/1.1 Cache Control header in Response.Syntax. The values for CacheControl are strings, and must be enclosed in quotation marks (" "). You must set CacheControl before any response is sent to the client, unless response buffering is enabled. Syntax Response.CacheControl [**=**Cache Control Header] Parameters Cache Control Header The following is

IIS ASP内置对象参考 Response.Buffer

The Buffer property indicates whether to buffer page output. When page output is buffered, the server does not send a response to the client until all of the server scripts on the current page have been processed, or until the Flush or End method is called. The Buffer property cannot be set after the server has sent output to the client. For this reason, the call to Response.Buffer should be the f

IIS ASP内置对象参考 Response.Write Method

The Write method writes a specified string to the current HTTP output. Write( variant ) Parameters variant The data to write. This parameter can be any data type supported by the VBScript VARIANT data type, including characters, strings, and integers. This value cannot contain the character combination %>; instead you should use the escape sequence %\>. The Web server translates the escape s

IIS ASP内置对象参考 Response.Redirect Method

The Redirect method causes the browser to redirect the client to a different URL. Redirect( URL ) Parameters URL The Uniform Resource Locator (URL) that the browser is redirected to. This can be an full URL beginning with "http://", a virtual path to a location on the same IIS server, or the name of a file contained in the same location as the original URL. URL can include a query string. Older We

IIS ASP内置对象参考 Response.Flush Method

The Flush method sends buffered output immediately. This method causes a run-time error if Response.Buffer has not been set to TRUE. Flush( ) Parameters This method has no parameters. Return Values This method has no return values. Applies To Response Object Remarks If the Flush method is called on an ASP page, the server does not honor Keep-Alive requests for that page. Requirements Client: Requi

IIS ASP内置对象参考 Response.End Method

The End method causes the Web server to stop processing the script and return the current result. The remaining contents of the file are not processed. End( ) Parameters This method has no parameters. Return Values This method has no return values. Applies To Response Object Remarks If Response.Buffer is set to TRUE, calling Response.End flushes the buffer. If you do not want output returned to th

IIS ASP内置对象参考 Response.Clear Method

The Clear method erases any buffered HTML output. However, the Clear method erases only the response body; it does not erase response headers. You can use this method to handle error cases. Note that this method causes a run-time error if Response.Buffer has not been set to TRUE. Clear( ) Parameters This method has no parameters. Return Values This method has no return values. Applies To Response

IIS ASP内置对象参考 Response.BinaryWrite Method

The BinaryWrite method writes the specified information to the current HTTP output without any character conversion. This method is useful for writing nonstring information, such as binary data required by a custom application. BinaryWrite( data ) Parameters data The data to write to the HTTP output. This parameter is of type VT_ARRAY | VT_UI1, which is a variant array of unsigned one-byte charact

IIS ASP内置对象参考 Response.AppendToLog Method

The AppendToLog method adds a string to the end of the Web server log entry for the request. You can use it multiple times in one section of script. Each time the method is used, it appends the specified string to the existing entry. AppendToLog( string ) Parameters string The text to append to the log file. Because fields in the log are comma-delimited, this string cannot contain any commas (,).

IIS ASP内置对象参考 Response.AddHeader Method

The AddHeader method adds a new HTML header and value to the response sent to the client. It does not replace an existing header of the same name. After a header has been added, it cannot be removed. PICS was originally designed to help parents and teachers control what children access on the Internet, but it also facilitates other uses for labels, including code signing and privacy. Other rating

IIS ASP内置对象参考 Session Object (IIS)

You can use the Session object to store information needed for a particular user session. Variables stored in the Session object are not discarded when the user jumps between pages in the application; instead, these variables persist for the entire user session. The Web server automatically creates a Session object when a Web page from the application is requested by a user who does not already ha

IIS ASP内置对象参考 Response.Cookies Collection

The Cookies collection sets the value of a cookie. If the specified cookie does not exist, it is created. If the cookie exists, it takes the new value, and the old value is discarded. Cookies should never be used to store secure data, such as passwords. Cookies are transmitted as clear text. If a malicious user taps an Internet connection, then they can take cookie data to impersonate a client and