#38032 [NEW]: session_start() warning inspite of using ob_start()
| From: | tamagog02000 at yahoo dot com | Date: | Fri, 07 Jul 2006 12:14:31 +0000 |
| Subject: | #38032 [NEW]: session_start() warning inspite of using ob_start() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-99205@lists.php.net to get a copy of this message | ||
From: tamagog02000 at yahoo dot com
Operating system: xp
PHP version: 4.4.2
PHP Bug Type: Session related
Bug description: session_start() warning inspite of using ob_start()
Description:
------------
hi my problem is when am using session_start() i get this error Warning:
session_start() [function.session-start]: Cannot send session cookie -
headers already sent by (output started at C:\Program
Files\xampp\htdocs\Copy of finalproject\signin.php:2) in C:\Program
Files\xampp\htdocs\Copy of finalproject\signin.php on line 4
Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at C:\Program
Files\xampp\htdocs\Copy of finalproject\signin.php:2) in C:\Program
Files\xampp\htdocs\Copy of finalproject\signin.php on line 4
1
inspite that am using ob_start() befor session_start() what should i do?
here i wanna let username and id be seen by any page in website?
--
Edit bug report at http://bugs.php.net/?id=38032&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38032&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38032&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38032&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38032&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38032&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38032&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38032&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38032&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38032&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38032&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38032&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38032&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38032&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38032&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38032&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38032&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38032&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38032&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38032&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38032&r=mysqlcfg