Availability
This routine is available starting from Blitz Actions 4.1.0
Syntax
BA_getBlitzAttribute(name)
Description
Returns the value stored for the given attribute name or an empty string, if no value is stored for that name. The values are retrieved from the HTTP session, where they have been previously set using the BA_setBlitzAttribute routine.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
name | string | yes | The attribute name |
Return type
string
Examples
Example 1
return BA_getBlitzAttribute("userKey");
Example 2
return BA_getBlitzAttribute("city");