On Monday 10 December 2001 14:39, Steve Osborne wrote: > 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?
Yes, or do what I do and redirect to a dologin page that sets the cookie and autorefreshes after one second to the real page, which requires the cookie to be set already. -- Casey Allen Shobe [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]