Setting Cookies

From: Date: Mon, 10 Dec 2001 19:39:02 +0000
Subject: Setting Cookies
Groups: php.general 
Request: Send a blank email to php-general+get-77215@lists.php.net to get a copy of this message
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 s.osborne@chinookmultimedia.com

« previous php.general (#77215) next »