Bug #16454: Session Mangement, headers, command line
| From: | jamie at caplex dot com | Date: | Fri, 05 Apr 2002 16:56:04 +0000 |
| Subject: | Bug #16454: Session Mangement, headers, command line | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-4146@lists.php.net to get a copy of this message | ||
From: jamie@caplex.com
Operating system: RedHat Linux 7.1
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: Session Mangement, headers, command line
I need to set the session id when processing a .php file from the command
line. The purpose is to produce a .pdf by firstly running the php script
and piping the output to an html file. I then run htmldoc on the html
file to produce the pdf. When running php on the command line without the
-q switch the headers are included in the pdf file. When the script is
processed using the -q switch I get the warning: <i>Cannot send session
cache limiter - headers already sent in <filename></i>
It appears that I can remove the warning be either not including
session_id($argv[1]) or running the script without the -q switch. Neither
is an option for me.
--
Edit bug report at http://bugs.php.net/?id=16454&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16454&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16454&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16454&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16454&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16454&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16454&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16454&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16454&r=submittedtwice