The Webmonkey Cookie Behaviors allow you to specify a cookie name and value, read a cookie, and delete existing cookies. You can use cookies to maintain information across sessions like a password or a user ID or even the choices a user made to questions in earlier sessions. The three included actions are Set Cookie , Read Cookie , and Kill Cookie . Set Cookie allows you to specify a cookie name and a value. Alternatively, you can base the value on a form element on your page.
Valid elements are text, textarea, password, and hidden fields.
You can optionally specify a path and domain, as well as a number of hours until your cookie expires. The same types of fields are allowed. Kill Cookie does what you would expect. Note, however, that if you specified a path or domain when you set a cookie, you must use the same values to kill it. To use the Webmonkey Cookie Behaviors, you must have Dreamweaver 1.2a or higher.