Re: [PHP] session vs. header

2002-11-06 Thread huge junk mail
ike searching something then it led to an error. I don't know why this could happen. Am I missing something? Thank you. huge junk mail <[EMAIL PROTECTED]> wrote:Can someone tell me why I can't have $_SESSION['foo'] = 'content of foo'; following by head

[PHP] session vs. header

2002-10-30 Thread huge junk mail
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