RE: [PHP] help !!about session
| From: | Lawrence dot Sheed at dfait-maeci dot gc dot ca | Date: | Tue, 21 Nov 2000 02:06:51 +0000 |
| Subject: | RE: [PHP] help !!about session | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26381@lists.php.net to get a copy of this message | ||
You have printed something out before you sent the cookie
Check for blank lines before your <?php line eg
<?php
SetCookie ("x","y",30,"\");
?>
Also check that you haven't printed anything to the browser - eg
<?php
print "here";
SetCookie ("x","y",30,"\");
?>
In php4 you can now buffer output - have a look at the php configuration
file for details.
-----Original Message-----
From: forestwater [mailto:forestwater@sina.com]
Sent: November 21, 2000 10:08 AM
To: php-general@lists.php.net
Subject: [PHP] help !!about session
what is the following means:
"Warning: Cannot send session cookie - headers already sent by (output
started at c:\inetpub\wwwroot\session_a.php:5)
Warning: Cannot send session cache limiter - headers already sent (output
started at c:\inetpub\wwwroot\session_a.php:5) in
c:\inetpub\wwwroot\session_a.php on line 7"
______________________________________
===================================================================
ÐÂÀËÃâ·Ñµç×ÓÓÊÏä http://mail.sina.com.cn
ÐÂÀËÍÆ³ö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ
http://sms.sina.com.cn/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net