protected function logDLStatDetails()
	{
	    //Host / Page ID ermitteln
	    $pageId = $GLOBALS['objPage']->id; // ID der grad aufgerufenden Seite.
	    $pageHost = \Environment::get('host'); // Host der grad aufgerufenden Seite.
	    
	    if (isset($GLOBALS['TL_CONFIG']['dlstatdets']) 
	           && (bool) $GLOBALS['TL_CONFIG']['dlstatdets'] === true
	       )
	    {
	        //Maximum details for year & month statistic
            $username = '';
    		$strCookie = 'FE_USER_AUTH';

    		$hash = sha1(session_id() . (!$GLOBALS['TL_CONFIG']['disableIpCheck'] ? $this->IP : '') . $strCookie);
    		if (\Input::cookie($strCookie) == $hash)
    		{
    			$qs = \Database::getInstance()->prepare("SELECT pid, tstamp, sessionID, ip 
                                                         FROM `tl_session` WHERE `hash`=? AND `name`=?")
                                              ->execute($hash, $strCookie);
    			if ($qs->next() && 
    				$qs->sessionID == session_id() && 
    				($GLOBALS['TL_CONFIG']['disableIpCheck'] || $qs->ip == $this->IP) && 
    				($qs->tstamp + $GLOBALS['TL_CONFIG']['sessionTimeout']) > time())
    			{
    				$qm = \Database::getInstance()->prepare("SELECT `username` 
                                                             FROM `tl_member` WHERE id=?")
                                                  ->execute($qs->pid);
    				if ($qm->next())
    				{
    					$username = $qm->username;
    				}
    			} // if
    		} // if

    		\Database::getInstance()->prepare("INSERT INTO `tl_dlstatdets` %s")
            						->set(array('tstamp'    => time(), 
            						            'pid'       => $this->_statId, 
            						            'ip'        => $this->dlstatsAnonymizeIP(), 
            						            'domain'    => $this->dlstatsAnonymizeDomain(), 
            						            'username'  => $username,
            						            'page_host' => $pageHost,
            						            'page_id'   => $pageId,
            						            'browser_lang' => $this->dlstatsGetLang()
            						            )
            						        )
                                    ->execute();
	    }
	    else
	    {
	        //Minimum details for year & month statistic
	        \Database::getInstance()->prepare("INSERT INTO `tl_dlstatdets` %s")
                                    ->set(array('tstamp'    => time(), 
                                                'pid'       => $this->_statId
                                               )
                                         )
                                    ->execute();
	    }
	}