public static function save($key, $value, $duration = null) {
        self::setLifetime($duration);
        static::init();
        $_SESSION[self::$prepend . $key] = $value;
    }
public static function save($key, $value, $duration = null) {
        self::setLifetime($duration);
        static::init();
        $_SESSION[self::$prepend . $key] = $value;
    }
public static function save ( $ key , $ value , $ duration = null ) { self :: setLifetime ( $ duration ) ; static :: init ( ) ; $ _SESSION [ self :: $ prepend . $ key ] = $ value ; }
Saves to session
@param string $key
@param mixed $value
@param int $duration Duration for which the identity should be valid
Saves to session