"Sheawh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have started a session using session_start(); > but it returns : > > Warning: Cannot send session cookie - headers already sent by (output > started at c:\inetpub\wwwroot\diary\index.php:7) in > c:\inetpub\wwwroot\diary\reg_session.php on line 11 > > Warning: Cannot send session cache limiter - headers already sent (output > started at c:\inetpub\wwwroot\diary\index.php:7) in > c:\inetpub\wwwroot\diary\reg_session.php on line 11 > > > If I don't want to use session cookie , how to set it? > thanks.
No output is allowed before starting the session. Look at the user comments in the manual and search the mailing list archives. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php