public static function set($var, $value) {
        //  	var_dump($var." ".$value);
        Session::init(true);
        if (!Session::check_checksum()) return false;
        $_SESSION[$var] = $value;
        $_SESSION[__SESSION_checksum_var] = Session::make_checksum();
        return $value;
    }
public static function set($var, $value) {
        //  	var_dump($var." ".$value);
        Session::init(true);
        if (!Session::check_checksum()) return false;
        $_SESSION[$var] = $value;
        $_SESSION[__SESSION_checksum_var] = Session::make_checksum();
        return $value;
    }
public static function set ( $ var , $ value ) { //  	var_dump($var." ".$value); Session :: init ( true ) ; if ( ! Session :: check_checksum ( ) ) return false ; $ _SESSION [ $ var ] = $ value ; $ _SESSION [ __SESSION_checksum_var ] = Session :: make_checksum ( ) ; return $ value ; }
Nastavi session premennu

@param string $var
@param string $value
Nastavi session premennu