| home -> documentation -> language reference -> name property |
Description
The NAME property is used to identify a variable or value depending on which tag is being used.
Syntax
<#SETCOOKIE NAME="nameofvariable" value="avalue"/>
or
<#KILLCOOKIE NAME="nameofvariable"/>
or
<#HEADER NAME="nameofheader" VALUE=""/>
or
<#FOR NAME="NameOfTheForVariable" STARTIN="InitialValue" ENDIN="FinalValue">
.
.
.
<#/FOR>
|
Applications
You can use the name property for:
- Set the name of a variable using the SETCOOKIE tag.
- Killing a variable indicated in the name property using the KILLCOOKIE tag.
- Changing a HTTP response header value using the HEADER element.
- Creating a temporarily variable with the actual index inside the FOR tag.
The NAME property is used in the DBSP tags:
FOR
HEADER
KILLCOOKIE
SETCOOKIE
See the documentation of each tag for further reference.
|