Auth::listUsers() (Previous) (Next) Auth::removeUser()

View this page in Last updated: Sun, 29 Jun 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Auth::logout()

Auth::logout() -- logout an authenticated user

Description

Logout any currently logged in user.

Note

This function can not be called statically.

Auth::listUsers() (Previous) (Next) Auth::removeUser()

Download Documentation Last updated: Sun, 29 Jun 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: kbailey@freewayprojects.com
Just thought I'd mention that the logout function does not seem to unset the $_SESSION variables.

To unset all $_SESSION variables I used

session_unset();

just before the

a->logout();

call.

Please see

http://uk2.php.net/manual/en/function.session-unset.php

for details RE using session_unset().