ID:               47344
 Updated by:       tony2...@php.net
 Reported By:      phpbugreport at growyouthful dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: Apache 20051115
 PHP Version:      5.2.9RC1
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2009-02-09 03:16:00] phpbugreport at growyouthful dot com

Description:
------------
I wanted to carry the value of $newsletter from page to page. When I
saved it as
$_SESSION['newsletter']= $newsletter; 
and then got the value of the session variable later, it was not what
was saved previously. It seemed to be empty or null. 

This bug may also have caused the page to hang, and numerous
invocations of the script - my web stats showed that the script had been
run several thousand times by me. However, an ob_flush() seemed to fix
this problem of hanging.

When I changed the session variable name to xnewsletter, it fixed the
problem.

Note: my php host is using php 5.2.6 and I do not have the option of
asking them to change that




Reproduce code:
---------------
session_start();
$_SESSION['newsletter']= $newsletter;

...later...

session_start();
$newsletter=$_SESSION['newsletter'];

Expected result:
----------------
see Description



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


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

Reply via email to