Auth::logout()

Auth::logout() – Déconnecte un utilisateur identifié

Synopsis

void Auth::logout ( )

Description

Déconnecte un utilisateur actuellement identifié.

Note

This function can not be called statically.

Liste tous les utilisateurs disponibles (Previous) Efface un compte utilisateur (Next)
Last updated: Sun, 29 Aug 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

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().