TWikiVariables documents SESSIONVAR without any parameters, but the example
%SESSIONVAR%
does not expand.
TWikiUserAuthentication documents SESSION_VAR with parameters.
The preferred name is SESSIONVAR (to make it consistent with other variable names)
The documentation needs to be fixed.
--
PTh
Let's see:
-
%SESSIONVAR%
expands to TWIKISID
-
%SESSION_VAR%
expands to %SESSION_VAR%
-
%SESSION_VARIABLE{"TestSesVar" set="StringValue"}%
sets a session variable
-
%SESSION_VARIABLE{"TestSesVar"}%
expands to StringValue
(reload if nescessary).
All as documented, and I can't seem to find
%SESSION_VAR%
used anywhere. Less work for me, closing this.
--
SP