Bug #74514 [Opn->Fbk]: PHP Warning: session_name(): Cannot change session name when headers already

From: Date: Sat, 29 Apr 2017 22:52:00 +0000
Subject: Bug #74514 [Opn->Fbk]: PHP Warning: session_name(): Cannot change session name when headers already
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208857@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74514&edit=1

 ID:                 74514
 Updated by:         daverandom@php.net
 Reported by:        spam2 at rhsoft dot net
 Summary:             PHP Warning:  session_name(): Cannot change session
                     name when headers already
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Session related
 Operating System:   Linux
 PHP Version:        master-Git-2017-04-29 (Git)
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.




Previous Comments:
------------------------------------------------------------------------
[2017-04-29 22:32:21] spam2 at rhsoft dot net

Description:
------------
[30-Apr-2017 00:16:55 Europe/Vienna] PHP Warning:  session_name(): Cannot change session name when
headers already sent in /Volumes/dune/www-servers/cms/cms/autotests/suite/backend.php on line 40

for *sure* not

line 40 is "$session_name = session_name();"

nobody is asking here for any change



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=74514&edit=1


Thread (9 messages)

« previous php.bugs (#208857) next »