다음을 통해 공유


Request

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The Request class represents a request made in the context of a visit. A Request object connects to information that describes the user and other details of the visit.

A request may be a part of a Uniform Resource Identifier (URI), in which case a URI object is linked to the Request object. The query string that is contained in the URI is represented by a UriQuery object linked to the Request object.

Alternatively, a Request may be made through a site URL. The site URL is represented by a SiteURL object linked to the Request object through a URI object. The SiteURL object may represent an actual Web site or a virtual server. If the Request object involves query strings through the site, the SiteURL object will have one or more LinkSVQStringName or LinkMVQStringName objects linking the SiteURL object to the query strings.

Data Members

Data member name

Data type

Default value

Description

BytesReceived

float

None

Stores the number of bytes received while processing the request.

BytesSent

float

None

Stores the number of bytes sent while processing the request.

HttpStatus

binary

0

None.

IsRequest

smallint

None

Identifies the object as a request, or a link between a Visit object and Web configuration objects. The value can be the following:

0 – Link

1 - Request

IsSecure

smallint

None

None.

QueryStringKey

bigint

0

None.

ReferrerDomainName

binary

Unknown

None.

RequestIndex

smallint

None

None.

RequestNum

binary

0

Stores the unique key for the object.

SiteID

binary

1

None.

TaskHistoryID

binary

0

None.

Timestamp

datetime

None

Records the time that the object was created.

URIKey

bigint

0

None.

UserAgentID

binary

1

None.

UserKey

bigint

0

None.

VisitNum

binary

0

None.

Win32Status

binary

1

None.

Class Key

RequestKey is composed of a single data member, RequestNum.

Relations

For a description of the relation type, see Data Warehouse Classes.

Relation name

Parent

Child

Type

HttpStatusRequest

HttpStatus

Request

2

LogUserRequestRel

LogUser

Request

5

ReferrerDomainRequest

ReferrerDomain

Request

2

RegisteredUserRequestRel

RegisteredUser

Request

2

RequestVisitInfoRel1

Request

VisitInfo

5 (Key is FirstRequestNum)

RequestVisitInfoRel2

Request

VisitInfo

5 (Key is SecondRequestNum)

RequestVisitInfoRel3

Request

VisitInfo

5 (Key is LastRequestNum)

SiteRequestRel

Site

Request

2

TaskHistoryRequestRel

TaskHistory

Request

2

UriQueryRequest

UriQuery

Request

5

UriRequest

URI

Request

5

UserAgentRequest

UserAgent

Request

2

VisitRequestRel

Visit

Request

5

Win32StatusRequest

Win32Status

Request

2

See Also

Other Resources

Data Warehouse Classes