session vs. header

From: Date: Wed, 30 Oct 2002 15:30:55 +0000
Subject: session vs. header
Groups: php.general 
Request: Send a blank email to php-general+get-122036@lists.php.net to get a copy of this message
Can someone tell me why I can't have $_SESSION['foo'] = 'content of foo'; following by header('Location: http://www.mysite.com'); Someone from www.php.net told me that it can confuse browser (http://bugs.php.net/19991). But, still I can't the idea why it can happen. Does register session means sending a 'header: location' too? Thanks. ===== Regards, mahara __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/

« previous php.general (#122036) next »