public function saveUrl($url = false, $append = '')
    {
        // If no URL is specified, then save the current URL.
        if ($url == false) {
            $url = '//'.$this->config['base_url'].$_SERVER['REQUEST_URI'];
        }
        
        // Set saved URL
        $this->saved = $this->getRedirect($url).$append;
        
        // Also save URL to session, in-case it won't be used until next request.
        $this->session->savedUrl = $this->saved;
    }