Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Headers property
Returns reference to request headers.
Type
WebHeaders object.Syntax
- Basic
object.Headers
The Headers(object) syntax has these parts:
The Headers(object) syntax has these parts:
object | An expression evaluating to an object of type WebRequest |
Remarks
This property returns reference to collection of all headers sent by the client in the request. You will usually find here Host header - list of Accepted languages, list of Accepted encodings etc.. To access specific header from the collection, you can use code like this:Debug.Print User.Request.Headers("Host").Value
or, for example
Dim h as WebHeader
For each h in User.Request.Headers
Debug.Print h.Name & " " & h.Value
Next