Bug #15310 Updated: when use object method call session register doesn't work
| From: | sniper@php.net | Date: | Sun, 14 Apr 2002 12:12:26 +0000 |
| Subject: | Bug #15310 Updated: when use object method call session register doesn't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4945@lists.php.net to get a copy of this message | ||
ID: 15310
Updated by: sniper@php.net
Reported By: nail@bowling.nsk.su
-Status: No Feedback
+Status: Open
Bug Type: Session related
Operating System: linux
PHP Version: 4.1.1
New Comment:
reopen..the feedback _was_ given.
Previous Comments:
------------------------------------------------------------------------
[2002-04-14 00:00:02] php-bugs@lists.php.net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-02-01 02:49:31] nail@bowling.nsk.su
I mean value of $_SESSION['time'] lost at refresh.
When I comment line $test->t() script works correctly:
Array
(
[time] => 1012549372
)
------------------new _SESSION:--------------------------
Array
(
[time] => 1012549373
)
When I remove comment the output is like this (don't forget begin new
session):
Array
(
)
------------------new _SESSION:--------------------------
Array
(
[time] => 1012549537
)
------------------------------------------------------------------------
[2002-02-01 02:22:49] yohgaki@php.net
What do you mean "it has not given result".
If you mean $time does not have value, it's normal.
if $_SESSION['time'] does not have value something wrong.
If you mean you don't see
$test->$mT['TEST']['_SESSION_']['time'] does
not have value, it's your bug.
Please try to be more specific.
------------------------------------------------------------------------
[2002-01-31 06:06:48] nail@bowling.nsk.su
I have removed session_register() call and began new session, but it
has not given result.
------------------------------------------------------------------------
[2002-01-31 05:31:45] yohgaki@php.net
As I changed session manual recently,
NEVER use $_SESSION(or $HTTP_SESSION_VARS) AND
session_register/is_registered/unregister() functions.
(It's not only for 4.1.x but also for 4.0.x)
I warned it already.
tracked vars and globals are handled inconsistent manner in session
module.
I really would like to get rid of global var support from session
module for PHP5....
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15310
--
Edit this bug report at http://bugs.php.net/?id=15310&edit=1