Low cost ecommerce web development India flash website design 

The Response object

The Response object is used to send information to the user. The Response

object supports only Cookies as a collection (to set cookie values). The

Response object also supports a number of properties and methods.

Syntax

Response.collection|property|method

Collections

Cookies

Specifies cookie values. Using this collection, you can set cookie values.

Properties

Buffer

Indicates whether page output is buffered.

CacheControl

Determines whether proxy servers are able to cache the output generated by

ASP.

Charset

Appends the name of the character set to the content-type header.

ContentType

Specifies the HTTP content type for the response.

Expires

Specifies the length of time before a page cached on a browser expires.

ExpiresAbsolute

Specifies the date and time on which a page cached on a browser expires.

27

IsClientConnected

Indicates whether the client has disconnected from the server.

Pics

Adds the value of a PICS label to the pics-label field of the response header.

Status

The value of the status line returned by the server.

Methods

AddHeader

Sets the HTML header name to value.

AppendToLog

Adds a string to the end of the Web server log entry for this request.

BinaryWrite

Writes the given information to the current HTTP output without any

character-set conversion.

Clear

Erases any buffered HTML output.

End

Stops processing the .asp file and returns the current result.

Flush

Sends buffered output immediately.

Redirect

Sends a redirect message to the browser, causing it to attempt to connect to a

different URL.

Write

Writes a variable to the current HTTP output as a string. This can be done by

using the construct

Response.Write("Hello")

or the shortcut command

<%= "Hello" %>

freelance web designer India web development

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73