SESSION_VARIABLE -- get, set or clear a session variable

Parameters

ParameterSorted ascending Description
"name" name of variable
clear if it is to be cleared
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: 27 Feb 2018, 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