Elgg\FileService\File::bindSession PHP Method

bindSession() public method

Bind URL to current user session
public bindSession ( boolean $use_cookie = true ) : void
$use_cookie boolean Use cookie
return void
    public function bindSession($use_cookie = true)
    {
        $this->use_cookie = $use_cookie;
    }