} // END - if
// Set the cookie
+ //echo $cookieName."=".$cookieValue.
+ // ", expire=".(time()+$this->getConfigInstance()->readConfig('cookie_expire')).
+ // ", path=".$this->getConfigInstance()->readConfig('cookie_path').
+ // ", domain=".$this->getConfigInstance()->readConfig('cookie_domain').
+ // ", ssl=".$this->getConfigInstance()->readConfig('cookie_ssl');
setcookie(
$cookieName,
$cookieValue,
$cfg->setConfigEntry('user_class', "User");
// CFG: COOKIE-EXPIRE
-$cfg->setConfigEntry('cookie_expire', 60*60*24*2); // Two hours!
+$cfg->setConfigEntry('cookie_expire', 60*60*2); // Two hours!
// CFG: COOKIE-PATH
$cfg->setConfigEntry('cookie_path', dirname($_SERVER['SCRIPT_NAME']) . "/");