Why is there an outputbuffer here?
| From: | Bas Jobsen | Date: | Sun, 20 Oct 2002 11:17:27 +0000 |
| Subject: | Why is there an outputbuffer here? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-120664@lists.php.net to get a copy of this message | ||
Hello,
In the code below ob_end_clean(); doesn't give a warning (No buffer to
delete). So there seems to be a buffer, but i don't understand why?
Who knows?
Thanks,
<?
error_reporting(E_ALL);
session_start();
unset($_SESSION['username'],$_SESSION['password']);
$p = session_get_cookie_params();
setcookie(session_name(), '', time()-1, $p['path'], $p['domain']);
ob_end_clean();
?>