VisitInfo
This class represents information about a completed visit to a Web site. If a visit has not been completed at log import time, an OpenUserVisit object is instantiated instead.
The VisitInfo class is the primary structure for recording user activity on a Commerce Server 2000 Web site. Someone who interacts with a Commerce Server 2000 Web site is called a user. The VisitInfo class records information describing user activity.
A VisitInfo object is associated with a LogUser object and a UserAgent object. The LogUser object contains information on the user. The UserAgent object contains information describing the software and computer the user is using.
A VisitInfo object describes the context of a visit, including the time and date of the visit. The VisitInfo object links to a Date structure that contains date information.
Data Members
Data Member Name | Data Type | Default Value | Description |
CountOfRequest | ULONG | None | None |
Duration | ULONG | None | None |
FirstHTimeStamp | FILETIME | None | None |
FirstRequestNum | IDENTITY | None | None |
FirstTimeStamp | FILETIME | None | Stores the time the visit started. |
FirstUri | WSTR | Not available | None |
LastRequestNum | IDENTITY | None | None |
LastUri | WSTR | Not available | None |
Processed | BOOL | 0 | None |
ReferrerDomainName | WSTR | Not available | None |
SecondRequestNum | IDENTITY | None | None |
SecondUri | WSTR | Not available | None |
SiteName | WSTR | Not available | None |
TaskID | LONG | 0 | None |
UserAgentBrowserCategoryID | ULONG | 1 | None |
UserAgentName | WSTR | Not available | None |
UserAgentOperatingSystemID | ULONG | 1 | None |
UserAgentPortalID | ULONG | 1 | None |
UserAgentSecurityID | ULONG | 1 | None |
UserAgentVersionID | ULONG | 1 | None |
UserID | WSTR | Not available | None |
UserKey | UUID | {00000000-0000-0000-0000-000000000000} | None |
VisitNum | IDENTITY | 0 | Stores the unique key for the object. |
Class Key
VisitInfoKey is composed of a single data member, VisitNum.
Relations
For a description of the relation type, see Data Warehouse Classes.
Relation Name | Parent | Child | Type |
DateVisitInfoFirstTimeStamp | Date | VisitInfo | 2 |
ReferrerDomainVisitInfo | ReferrerDomain | VisitInfo | 194 |
RegisteredUserVisitInfoRel | RegisteredUser | VisitInfo | 2 |
SiteVisitInfoRel | Site | VisitInfo | 2 |
TaskHistoryVisitInfoRel | TaskHistory | VisitInfo | 2 |
UserAgentVisitInfo | UserAgent | VisitInfo | 194 |
UserVisitInfo | LogUser | VisitInfo | 2 |