all windows are implemented yet

This commit is contained in:
sebastian 2005-03-08 17:16:06 +00:00
parent 0fca5f27cd
commit a49bac6b5c
16 changed files with 292 additions and 80 deletions

View file

@ -52,7 +52,9 @@ class uiHandler extends uiBase {
$this->redirUrl = UI_BROWSER.'?popup[]=login';
return FALSE;
}
setcookie($this->config['authCookieName'], $sessid);
#setcookie($this->config['authCookieName'], $sessid);
echo "<meta http-equiv='set-cookie' content='".$this->config['authCookieName']."=".$sessid.";'>";
ob_flush();
$id = $this->gb->getObjId($formdata['login'], $this->gb->storId);
if(PEAR::isError($id)) {
$this->_retMsg('Login failed');
@ -76,7 +78,9 @@ class uiHandler extends uiBase {
function logout($trigger_login = FALSE)
{
$this->gb->logout($this->sessid);
setcookie($this->config['authCookieName'], '');
#setcookie($this->config['authCookieName'], '');
echo "<meta http-equiv='set-cookie' content='".$this->config['authCookieName']."=;'>";
ob_clean();
session_destroy();
if ($trigger_login)