SESSION_VARIABLE -- get, set or clear a session variable

Parameters

Parameter Description
"name" name of variable
set value to set it to
clear if it is to be cleared
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 Jun 2015, ProjectContributor
11 Apr 2025 - 07:09 Foswiki v2.1.9