HTTPProvider Object
261
Cookie
Syntax
Cookie: OleVariant
Description
Sets and gets the Cookie header element. Use this property to send a set of client
cookies to the server along the HTTP request.
Example
Sample cookie script
function Main ()
{
var app = Application;
var httpPro = app.HTTPProvider;
httpPro.URL = "http://127.0.0.1/GetCustomerRegistration.cfm";
httpPro.Cookie = ‘Customer="John_Doe"; $Path="/myapp";Cust_ID="4567";
$Path="/myapp"’;
httpPro.Get();
}
DocName
Syntax
DocName: OleVariant (read-only)
Description
The document name segment from the requested URL.
LastResponse
Syntax
LastResponse: OleVariant (read-only)
Description
The most recent response content block when content stream is sent from the server
in multiple responses.
Location
Syntax
Location: OleVariant (read-only)
Description
The response-header field which defines the exact location of the resource that was
identified by the Request-URI. During redirection, this is the final URL of the
resource returned.
ModifiedSince
Syntax
ModifiedSince: OleVariant
Description
Sets and gets the Modified-Since request-header field.
Содержание ColdFusion Server 5
Страница 18: ...xviii About This Book...
Страница 26: ...8 Chapter 1 Setting Up the Product...
Страница 42: ...24 Chapter 2 Configuring Browsers and Servers...
Страница 60: ...42 Chapter 3 Exploring the Workspace...
Страница 100: ...82 Chapter 6 Editing Pages...
Страница 126: ...108 Chapter 7 Using Web Development Languages...
Страница 212: ...194 Chapter 13 Customizing the Development Environment...
Страница 320: ...302 Glossary...