Difference: VarSESSIONVARIABLE (r3 vs. r2)

SESSION_VARIABLE -- get, set or clear a session variable

  • Syntax: Session variables are stored in a personal "persistent memory space" that is not lost until the web browser is closed %SESSION_VARIABLE{"name"}%
  • Syntax: %SESSION_VARIABLE{"name" %SESSION_VARIABLE{"name"}% set="value"}% - read a session variable
  • Syntax: %SESSION_VARIABLE{"name" clear=""}% set="value"}% - set a session variable
  • HELP Syntax: Hint: The users ID is in the %SESSION_VARIABLE{"name" clear=""}%AUTHUSER - clear a session variable session variable, and is read-only
  • Related: Special read-only session variables: TWikiUserAuthentication
    • %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

View topic | View difference side by side | History: r3 < r2 < r1 | More topic actions
This site is powered by the TWiki collaboration platformCopyright © 1999-2019 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.