User Guide
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.