Hi again!
I've a method called logout() with
public function logout()
{
fAuthorization::destroyUserInfo();
fMessaging::create('success', URL_ROOT . 'student/login', 'Session closed.');
fURL::redirect(
URL_ROOT . 'student/login'
);
}
But it seem doesn't work, if I call fAuthorization::checkLoggedIn() it give me true =/
In the login I'm using only this
fAuthorization::setUserAuthLevel($type);
fSession::enablePersistence();
I don't know why I can't destroy the user session...
Any idea?
Thanks!