Re: [PHP] session vs. header

2002-11-06 Thread Chris Shiflett
huge junk mail wrote: 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

Re: [PHP] session vs. header

2002-11-06 Thread dwalker
I believe the php code gets executed before html code is processed. -Original Message- From: dwalker <[EMAIL PROTECTED]> To: huge junk mail <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday, November 06, 2002 10:44 AM Subject: Re: [PHP] session

Re: [PHP] session vs. header

2002-11-06 Thread dwalker
; what ever the welcome page looks like -Original Message- From: huge junk mail <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday, November 06, 2002 9:03 AM Subject: Re: [PHP] session vs. header > >I think I have to re-explain the pr

Re: [PHP] session vs. header

2002-11-06 Thread huge junk mail
I think I have to re-explain the problem completely. I want to use this script in a login form. Once, someone is authenticated, then I register variables for indentifying him/her through session. After I register those variables I want to redirect him/her to a page, which required authenticated

Re: [PHP] session vs. header

2002-10-30 Thread Jonathan Sharp
huge junk mail wrote: > 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

Re: [PHP] session vs. header

2002-10-30 Thread 1LT John W. Holmes
> 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 regis