public function validateToken()
	{
		if ($this->token !== $this->getToken())
		{
			// Using 'public' as the session ID allows for shareable URLs
			// not tied to a specific user session. Usage would be for
			// files that do not need access control.
			$this->session_id = 'public';
		}
		return ($this->token === $this->getToken());
	}
public function validateToken()
	{
		if ($this->token !== $this->getToken())
		{
			// Using 'public' as the session ID allows for shareable URLs
			// not tied to a specific user session. Usage would be for
			// files that do not need access control.
			$this->session_id = 'public';
		}
		return ($this->token === $this->getToken());
	}
public function validateToken ( ) { if ( $ this -> token !== $ this -> getToken ( ) ) { // Using 'public' as the session ID allows for shareable URLs // not tied to a specific user session. Usage would be for // files that do not need access control. $ this -> session_id = 'public' ; } return ( $ this -> token === $ this -> getToken ( ) ) ; }
Validates the given token against the session date

@return  bool
Validates the given token against the session date