API Docs for: WebTemplate API v2.0
Show:

WTSession Class

The class to contain the session functions

Item Index

Methods

Methods

get

(
  • name
)
static

Get the value of a session variable

Parameters:

  • name String

    The name of the session variable

getSessionData

() static

Get all session data as an associative array

getValue

(
  • name
)
private

Get the value of a session variable

Parameters:

  • name String

    The name of the session variable

set

(
  • name
  • value
)
static

Set a session variable

Parameters:

  • name String

    The name of the session variable

  • value String

    The value of the session variable

setValue

(
  • name
  • value
)
private

Set a session variable

Parameters:

  • name String

    The name of the session variable

  • value String

    The value of the session variable