S80 Insert a Session Variable
Use the S80 Tag to render a session variable value. Session variables are typically set by the user with [[U0]]
, [[U1]]
, or in a URL parameter by prefixing "s_" to the variable name.
Note: The S80 Tag is for web page use only. The tag does not work in email campaigns or autoresponders.
Application
Platform
Can You Add This S-Tag in the WYSIWYG content editor?
No, this S-Tag cannot be added using the WYSIWYG content editor toolbar. Add the S-Tag code to the HTML using the Plain Text editor.
Can You Add This S-Tag in the Luminate CMS WYSIWYG content editor?
No, this S-Tag cannot be added using the Luminate CMSWYSIWYG content editor. Add the S-Tag code to the HTML using the Plain Text editor in Luminate CMS.
Format
-
Standard
[[S80:variable_name]] -
XML
<convio:session name="80" param="variable_name" />
Parameters
-
variable_name - The name of the session variable to render. If it does not exist, an empty string is rendered.
Sample Code
-
Standard
To get the current TeamRaiser ID:
[[S80:trID]]
To get the ID of the current Security Category:
[[?xxnullx1x::x[[S80:AffiliateSecCatId]]x::
(The General Security Category either has no ID# or ID# is 1)
::[[S80:AffiliateSecCatId]]]]
To get the ID of the current Security Category:
[[S80:trID]]
[[?xxnullx1x::x[[S80:AffiliateSecCatId]]x::
(The General Security Category either has no ID# or ID# is 1)
::[[S80:AffiliateSecCatId]]]]
-
XML
<convio:session name=”80” param=”src”>