free e- mail
thaimail
hotmail
yahoo
siam2you
thammasat
Home
Visual Basic
Active Server Page
JavaScript
Network
Other
Active Server Pages.
Response Object
All Collections
All Methods
All Objects
All Properties
METHOD: Response.AddHeader
Response.
AddHeader
Name, Value
The
AddHeader
method adds a new named HTTP header with a specific value to the HTTP response. Note that once a header has been added, it cannot be removed. This method must be called before any output is sent to the client unless the Response.Buffer is set to true.
There are two mandatory arguments.
Name
The
Name
argument is the name of the new header variable. The name cannot contain any underscores ( _ ).
Value
The
Value
argument is the initial value of the new header variable.
Code:
<%
Response.AddHeader
"MyHeader", "ERROR"
%>
Copyright 2000 by Infinite Software Solutions, Inc.
Trademark Information
ASP - Link
ASP reference
B
C
D
E
F
G
Last update:
Copyright © 2001.Memo Wil@keo everything that I like Co.,Ltd.