how to use session?
| From: | Sheawh | Date: | Wed, 21 Jul 2004 16:12:36 +0000 |
| Subject: | how to use session? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-191336@lists.php.net to get a copy of this message | ||
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.