Difference: VarSESSIONVARIABLE (1 vs. 5)

Revision 52014-08-14 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

SESSION_VARIABLE -- get, set or clear a session variable

Line: 9 to 9
 
  • Special read-only session variables:
    • %SESSION_VARIABLE{"AUTHUSER"}% - user ID, current value:
    • %SESSION_VARIABLE{"SESSION_REQUEST_NUMBER"}% - number of pages accessed by current user since login, current value:
Added:
>
>
  • Note: It is not possible to set/get/clear session variables starting with an underscore, such as "_NON_OF_YOUR_BUSINESS"
 

Revision 42012-11-15 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

SESSION_VARIABLE -- get, set or clear a session variable

Line: 9 to 9
 
  • Special read-only session variables:
    • %SESSION_VARIABLE{"AUTHUSER"}% - user ID, current value:
    • %SESSION_VARIABLE{"SESSION_REQUEST_NUMBER"}% - number of pages accessed by current user since login, current value:
Added:
>
>
 

Revision 32011-04-09 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

SESSION_VARIABLE -- get, set or clear a session variable

Changed:
<
<
>
>
  • Session variables are stored in a personal "persistent memory space" that is not lost until the web browser is closed
  • Syntax: %SESSION_VARIABLE{"name"}% - read a session variable
  • Syntax: %SESSION_VARIABLE{"name" set="value"}% - set a session variable
  • Syntax: %SESSION_VARIABLE{"name" clear=""}% - clear a session variable
  • Special read-only session variables:
    • %SESSION_VARIABLE{"AUTHUSER"}% - user ID, current value:
    • %SESSION_VARIABLE{"SESSION_REQUEST_NUMBER"}% - number of pages accessed by current user since login, current value:
  • Related: TWikiUserAuthentication#Sessions, AUTHREALM, GET, LOGIN, LOGOUT, SESSIONID, SESSIONVAR, SET

Revision 22005-03-27 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"
Deleted:
<
<
 

SESSION_VARIABLE -- get, set or clear a session variable

  • Syntax: %SESSION_VARIABLE{"name"}%
  • Syntax: %SESSION_VARIABLE{"name" set="value"}%
Line: 7 to 6
 
  • Syntax: %SESSION_VARIABLE{"name" set="value"}%
  • Syntax: %SESSION_VARIABLE{"name" clear=""}%
  • HELP Hint: The users ID is in the AUTHUSER session variable, and is read-only
Changed:
<
<
>
>
 

Revision 12005-03-27 - TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiVariables"

SESSION_VARIABLE -- get, set or clear a session variable

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarSESSIONVARIABLE.