public static function Set($sKey, $mValue){
            $oThis = self::CreateInstanceIfNotExists();

            if($oThis->bStarted){
                if($sKey != "name" && $sKey != "id" && $sKey != "authentication"){
                    $_SESSION[$oThis->sName][$sKey] = $mValue;
                    return true;
                }
                else{
                    return false;
                }
            }
            else{
                return false;
            }
        }
public static function Set($sKey, $mValue){
            $oThis = self::CreateInstanceIfNotExists();

            if($oThis->bStarted){
                if($sKey != "name" && $sKey != "id" && $sKey != "authentication"){
                    $_SESSION[$oThis->sName][$sKey] = $mValue;
                    return true;
                }
                else{
                    return false;
                }
            }
            else{
                return false;
            }
        }
public static function Set ( $ sKey , $ mValue ) { $ oThis = self :: CreateInstanceIfNotExists ( ) ; if ( $ oThis -> bStarted ) { if ( $ sKey != "name" && $ sKey != "id" && $ sKey != "authentication" ) { $ _SESSION [ $ oThis -> sName ] [ $ sKey ] = $ mValue ; return true ; } else { return false ; } } else { return false ; } }
Function to set data in a session

@static
@access public
@param string $sKey Search Key
@param mixed $mValue Data to be stored
@return boolean
Function to set data in a session