#15310 [Com]: when use object method call session register doesn't work

From: Date: Fri, 12 Oct 2007 19:40:59 +0000
Subject: #15310 [Com]: when use object method call session register doesn't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-118490@lists.php.net to get a copy of this message
ID: 15310 Comment by: dharmesh_radadiyaa at hotmail dot com Reported By: nail at bowling dot nsk dot su Status: No Feedback Bug Type: Session related Operating System: linux PHP Version: 4.1.1 New Comment: what is meaning of session? what is meaning of register? what is meaning of cookies? Previous Comments: ------------------------------------------------------------------------ [2002-07-25 23:31:32] bemore15 at yahoo dot com I have this bug on Windows 2000 PHP 4.2.1. $member = $auth->create_member_object($login, $password); $_SESSION["member"] = $member; $member->init(); ... $member->init() redirects the session to another page That page starts: <? require ("includes/common.php"); $member = $_SESSION["member"]; ... I have this bug regardless of the order of the following lines: require ("includes/common.php"); $member = $_SESSION["member"]; session_start() ... The output is: Notice: Undefined index: member in [file].php on line 4 ------------------------------------------------------------------------ [2002-07-02 01:00:07] php-bugs at lists dot php dot 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-06-01 11:43:36] mfischer@php.net Somehow the responses got out of sync. Please a) try a newer version of PHP (we're at 4.2.1) and b) try a new, self-contained example with the suggestions given. ------------------------------------------------------------------------ [2002-04-14 08:12:25] sniper@php.net reopen..the feedback _was_ given. ------------------------------------------------------------------------ [2002-04-14 00:00:02] php-bugs at lists dot php dot 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". ------------------------------------------------------------------------ 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

« previous php.bugs (#118490) next »