com.sebtools.SessionMgr
Component SessionMgr (SessionMgr)


I handle setting and retreiving session-related variables. Enabling storage mechanism for the variables to be changed.


hierarchy: WEB-INF.cftags.component
      com.sebtools.SessionMgr
properties:
methods: init, deleteVar, dump, exists, getSessionList, getValue, paramVar, setValue
* - private method

init
public SessionMgr init ( required string scope )

I instantiate and return this object.

Output: supressed
Parameters:
   scope: string, required, scope

deleteVar
public void deleteVar ( required string variablename )

I delete the given variable.

Output: supressed
Parameters:
   variablename: string, required, variablename
dump
public struct dump ( )

I dump the scope holding SessionMgr data.

Output: supressed
exists
public boolean exists ( required string variablename )

Output: enabled
Parameters:
   variablename: string, required, variablename

getSessionList
getSessionList ( )

Output: enabled

getValue
public any getValue ( required string variablename )

I get the value of the given user-specific variable.

Output: supressed
Parameters:
   variablename: string, required, variablename

paramVar
public any paramVar ( required string variablename, required any value )

I set a default value for the given variable.

Output: supressed
Parameters:
   variablename: string, required, variablename
   value: any, required, value
setValue
public void setValue ( required string variablename, required any value )

I set the value of the given user-specific variable.

Output: supressed
Parameters:
   variablename: string, required, variablename
   value: any, required, value