Feng Forum

Support => Feng Office 1 => Older versions => 1.3-rc => : chris-welt March 05, 2009, 08:18:56 AM

: logout seems to be bugy
: chris-welt March 05, 2009, 08:18:56 AM
Hi Guys,

thank you first for the RC, but now I encounter a problem with the logout.
If I press logout I am still logged on, even if I cleared the cache of the browser.

I updated all files in my installation besides the config, uploads and public/files directory and pointed than to <mydomain>/public/upgrade and performed that step...

Chris
: Re: logout seems to be bugy
: ignacio March 05, 2009, 11:30:16 AM
Try clearing the cookies for your installation. Don't clear all cookies or you will logout from all other sites that you had login, only the ones of your OpenGoo's url. On firefox this is done by going to Edit -> Preferences -> Privacy -> Show cookies. There select your OpenGoo's domain and choose "Remove Cookie". I don't know how to delete one specific cookie in IE. But you can try creating a file cookie.php in your OpenGoo's root with this content and browsing to it:
:
<?php
setcookie
('id'falsenull"/");
setcookie('token'falsenull"/");
setcookie('remember'falsenull"/");
echo 
"Cookies deleted";
?>


Otherwise, you can wait two weeks for the cookie to expire (just kidding :P). Seriously, if my previous suggestion doesn't work then we would have to rollback the change we made to cookie management. It would be a pity because this change allows you to login to two OpenGoo installations on the same domain simultaneously which would otherwise be impossible. Also it allows you to login to OpenGoo and Joomla on the same server simultaneously. But obviously, being unable to logout is much worse. It worked during on our testing phase but maybe there's something particular about your setting that doesn't allow this to work.
: Re: logout seems to be bugy
: RainerB March 05, 2009, 02:57:52 PM
Hi Ignacio,

i have had the same probem. Clearing the cookies seams to solve it.

Rainer
: Re: logout seems to be bugy
: chris-welt March 06, 2009, 09:37:04 AM
deleted the COOKIE_PATH and now it works again - thank you for the help and hint