SessionValues Class extending Object

/ The SessionValues acts as a map and allows you to access session values by index. /

Class Methods

Returns true if an index with the given name exists

function has(string index_name) : boolean


Sets the number for the index provided

function setNumber(string name, number value) : number

Sets the string for the index provided

function setString(string name, number value) : number


Sets the object for the index provided

function setObject(string name, SessionValues value) : number

Gets the number for the index provided

function getNumber(string name) : number


Gets the string for the index provided

function getString(string name) : string

Gets the object for the index provided

function getObject(string name) : SessionValues


Gets the array for the index provided

function getArray(string name) : array