Session and header()

From: Date: Wed, 21 Nov 2001 22:58:12 +0000
Subject: Session and header()
Groups: php.general 
Request: Send a blank email to php-general+get-75455@lists.php.net to get a copy of this message
Hi, I've got a login script that uses sessions. To end a login session, I simply delete the session variables and do a session_destroy() which seems to logout everyone ok. The problem comes when I do a header() call afterwards to redirect after logging out. It seems the header() call stops my logging out working correctly?! Does anyone have an idea of why header would interfere with seesion functions? Thank, Jordan -- Jordan Elver http://www.jordanelver.co.uk "testing? What's that? If it compiles, it is good, if it boots up it is perfect." --- Linus Torvalds

« previous php.general (#75455) next »