Not necessary on the top, but before any html begins

Zliy Pes, http://zliypes.com.ua

----- Original Message -----
From: "Steve Osborne" <[EMAIL PROTECTED]>
To: "PHP-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, December 10, 2001 9:39 PM
Subject: [PHP] Setting Cookies


> I am attempting to use the SetCookie command.  I receive the following
> error:
>
> Warning: Cannot add header information - headers already sent by
> ....(reference to current page)...
>
> At this point I have authenticated the user, and am trying to set the
cookie
> before redirecting them to the registered users section.  Should I be
> setting the cookie on the top of the page that I am sending them to?
>
> Any comments or suggestions would be greatly appreciated.
>
> Steve Osborne
> [EMAIL PROTECTED]
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to