public function getSecurityToken() { if (empty($_SESSION['ipSecurityToken'])) { $_SESSION['ipSecurityToken'] = md5(uniqid(rand(), true)); } return $_SESSION['ipSecurityToken']; }