--- Joaco [EMAIL PROTECTED] wrote:
I set a cookie in my code and then redirect the user using a
header function. When I do this, my cookie is not created. If i
remove the header function, then it is. Is there a way around
this?
If you are using IIS, read this:
--- Chris Boget [EMAIL PROTECTED] wrote:
You can't use any functions that send headers to the browser (and
that includes setcookie()) before you use:
header( 'location: http://blah' );
The browser will choke.
I'm not sure what gave you this idea, but this is false. What browser were you
I have a small problem was wondering if anyone out there knew anyhting about
this. I set a cookie in my code and then redirect the user using a header
function. When I do this, my cookie is not created. If i remove the header
function, then it is. Is there a way around this?
Yeah, set the
--- Joaco [EMAIL PROTECTED] wrote:
I set a cookie in my code and then redirect the user using a
header function. When I do this, my cookie is not created. If i
remove the header function, then it is. Is there a way around
this?
If you are using IIS, read this:
I have a small problem was wondering if anyone out there knew anyhting about
this. I set a cookie in my code and then redirect the user using a header
function. When I do this, my cookie is not created. If i remove the header
function, then it is. Is there a way around this?
--
PHP General
5 matches
Mail list logo