Поделиться через


PageHistory Property

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

Gets or sets a string that represents the history of ads already selected on the page.

Namespace:  Microsoft.CommerceServer.Runtime.Targeting
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Property PageHistory As String
'Usage
Dim instance As ContentSelector
Dim value As String

value = instance.PageHistory

instance.PageHistory = value
public string PageHistory { get; set; }
public:
property String^ PageHistory {
    String^ get ();
    void set (String^ value);
}
public function get PageHistory () : String
public function set PageHistory (value : String)

Property Value

Type: System..::.String
Represents the history of ads already selected on the page.

Remarks

Stores a string that represents the history of ads already selected on the page.The PageHistory string may be passed from one ContentSelector instance to another to avoid the situation of having the same ad repeatedly appear on the same page.

A reference to the page-level history string. The reference allows the history to be passed between requests for content that are on the same page (can be used cross-page as well). This key is retrieved from the ContextProfile dictionary in the Context dictionary. It contains the item_ids of content items already selected on the page.

Permissions

See Also

Reference

ContentSelector Class

ContentSelector Members

Microsoft.CommerceServer.Runtime.Targeting Namespace