SESSION_VARIABLE -- get, set or clear a session variable

Parameters

Parameter DescriptionSorted ascending
clear if it is to be cleared
"name" name of variable
set value to set it to
TIP The users ID is in the AUTHUSER session variable, and is read-only

Examples

  • %SESSION_VARIABLE{"MYVAR" set="myval"}%
  • %SESSION_VARIABLE{"MYVAR" clear=""}%

UserAuthentication, AUTHREALM, SESSIONID, SESSIONVAR, LOGIN, LOGOUT

This topic: System > Category > UserDocumentationCategory > Macros > VarSESSIONVARIABLE
Topic revision: 18 May 2021, UnknownUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback