note 4198 deleted from header by ronabop

From: Date: Fri, 11 Aug 2000 15:12:46 +0000
Subject: note 4198 deleted from header by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-1143@lists.php.net to get a copy of this message
I've to session_destroy() a session and then goto index.html of my site, but when i do session_destroy() and afterwards header("Location: index.html"); it tells me that headers are already sent, i know why: because session_destroy() sets some cookie header. Here is my Question: how do i session_destroy() and header(Location:) at once ? how can i do two headers, or how can i stop session_destroy() from destroying the cookies. -Thnx

« previous php.notes (#1143) next »