put(name, data)

stores a variable in the session

Parameters

  • name - the key of the variable
    • string
  • data - the data to store
    • string, object

Returns

method doesn't return any data