Session Properties are name/value pairs that let you capture and use specific
HTTP session information to trigger personalization and campaigns. Session
properties are associated with a session and are not persisted between sessions.
To create a Session Property Set
Be sure you have added a Data Sync project to your Portal Application.
See Creating a Portal Application and Portal Web Project
for more information.
- In the Application window, right-click the data\session
folder and choose New-->Other File Types.
- In the New File window, select the Portal folder in
the left pane.
- In the right pane, select Session Property Set.
- In the File name field, enter a name for the Session
property set. Make sure you keep the .ses
file extension.
- Click Create. The Session Property Set designer appears.
- Use the next procedure to add properties to the property set.
To add properties to a property set
After you create a property set, you add the properties you want to it.
- In the Palette window, drag one of the types of properties into the designer
window.
The type defines the number of values that can be entered for the property.
Following are descriptions of each type.
Single Unrestricted - A single unrestricted property can
have only one value, but you can enter any value.
Single Restricted - A single restricted property can have
only one value, and you are restricted to selecting that value from a predefined
list.
Multiple Unrestricted - A multiple unrestricted property
can have multiple values, and you can enter any values.
Multiple Restricted - A multiple restricted property can
have multiple values, and you are restricted to selecting the values from
a predefined list.
- In the Property designer window:
- Enter a name and description for the property
- Select the Data Type for the property value. For
example, if you select Boolean, your property value can be only true
or false. (Properties with a Boolean data type are automatically set
to "single restricted.")
- In the Selection Mode and Value Range
fields, you can change the type of property. For example, you can change
a property from "single unrestricted" to "multiple restricted."
Note: Any change to Data Type, Selection
Mode, or Value Range removes anything previously entered in the Values
field.
- Use the Values field to enter values for "restricted"
types or to set the default value(s) for "unrestricted types."
Click the ellipsis icon (...) to enter values. (In the Enter Property
Value dialog box that appears, click Add after each
entry, and click OK when all values are entered.)
- Save the file after you have added all the properties you want.
To modify properties and their values
To modify properties and their values, double-click the property set file
in the the Application window to open the file, select the property you want
to modify in the designer window, and change the values in the Property Editor
window.
Use code in a JSP or Java Page Flow to populate the session.
To delete properties
You can delete individual properties from a property set, and you can delete
property sets.
To delete a property from a property set, open the property set file, select
the property, and press the Delete key.
To delete a property set, select the property set file in the Application
window and press the Delete key.
Related Topics
Property
Set Designer window
Creating Segments
Creating Content Selectors
Creating Campaigns
Creating User Profile Properties
Creating Request Properties
Creating Catalog Structure Properties
Registering Custom Events