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 register
> session means sending a 'header: location' too?

no, sessions never send location headers, they may send cookies but not
location.

-js


> 
> Thanks.
> 
> =====
> Regards,
> 
> mahara
> 
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
> 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to