openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 4d5cb5832919280fc393fd7cd37fc77be2821216
parent a8901f4743b7ade3475913394287f0bd95459e7c
Author: dankert <devnull@localhost>
Date:   Sun, 26 Dec 2004 21:20:17 +0100

Bei Logout entfernen aller Session-Variablen

Diffstat:
actionClasses/IndexAction.class.php | 15++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/actionClasses/IndexAction.class.php b/actionClasses/IndexAction.class.php @@ -20,7 +20,10 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // --------------------------------------------------------------------------- // $Log$ -// Revision 1.11 2004-12-26 18:49:58 dankert +// Revision 1.12 2004-12-26 20:20:17 dankert +// Bei Logout entfernen aller Session-Variablen +// +// Revision 1.11 2004/12/26 18:49:58 dankert // Projektname im Seiten-Titel // // Revision 1.10 2004/12/25 22:11:20 dankert @@ -215,12 +218,14 @@ class IndexAction extends Action } + // Benutzer meldet sich ab function logout() { - global $SESS; - unset( $SESS['user'] ); - Session::setUser(''); - +// Session::setUser(''); + + // Aus Sicherheitsgruenden die komplette Session deaktvieren + session_unset(); + $this->callSubAction('show'); }