User Guide

Chapter 152
10
Set the Name parameter to eStore Password, then click OK.
11 Select the SavePassword checkbox. Then shift select the PasswordCookie.
12 Interaction Center now shows the Possible Interactions for the check box and
cookie elements currently selected. Double click this interaction::
Set State of SavePassword if PasswordCookie value exists
13 Set the parameters according to the following table, then click OK.
See DrumNote 42 for a further discussion on using Cookies.
Use User Names and Passwords
These next Interactions allow session-based security. A shopper inputs a username
and password, which are compared against the Customers recordset. If the user is
registered in the Customer’s recordset, a session variable is created to define the
customerID. This session variable will be used to filter the Customer recordset on
the CheckOut page.
The Access Group parameter can be used to restrict access to pages or elements.
For information about setting up access groups, see the LogIn and Registration
Starting Points from the StartingPoints folder under your Drumbeat directory.
To look up the Customer using the username and password:
1
Shift-select the following elements:
UserName edit box (on page)
Password edit box (on page)
LogInButton (on page)
Customers recordset (in Basement)
LogInForm (in Basement)
2 Right click and choose Possible Interactions.
Parameter Description Set to:
Name Defines the Name in the Name-
Value pair which is stored in the
cookie.
Paste (Ctrl+V) eStorePassword
Parameter Description Set to:
State Sets the State of the check box 1
Cookie Name Defines the name of the cookie PasswordCookie