HTTPProvider Object
Cookie
Syntax
Cookie: OleVariant
Sets and gets the Cookie header element. Use this property to send a set of client
Description
cookies to the server along the HTTP request.
Sample cookie script
Example
function Main ()
{
var app = Application;
var httpPro = app.HTTPProvider;
httpPro.URL
httpPro.Cookie = 'Customer="John_Doe"; $Path="/myapp";Cust_ID="4567";
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.
= "http://127.0.0.1/GetCustomerRegistration.cfm";
$Path="/myapp"';
261
Need help?
Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?