public function validSession ()
	{
		
		// Get session
		
		$session	= $this->getSessionData ();
		
		// Check session is valid
		
		if ($this->checkSession ($session) !== TRUE)
		{
			$this->loggedIn	= FALSE;
			return FALSE;
		}
		
		// If the user is not active or the active status has changed
		
		if ($session['active'] !== $this->iget ('active') || !$this->iget ('active'))
		{
			$this->loggedIn	= FALSE;
			return FALSE;
		}
		
		// Check if the session has timed out
		
		if ($this->session ()->timedOut ($session['last_action']))
		{
			$this->loggedIn	= FALSE;
			return FALSE;
		}
		
		// Set login status
		
		$this->loggedIn	= TRUE;
		
		// Return TRUE
		
		return TRUE;
		
	}