ID:               24202
 Updated by:       [EMAIL PROTECTED]
 Reported By:      admin at nexusfor dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: WIN NT
 PHP Version:      4.3.2
 New Comment:

You're doing something wrong. (not enough info to be sure, but it works
just fine here when you do it right..)



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

[2003-06-16 05:51:38] admin at nexusfor dot com

Description:
------------
When I read an array of objects saved in a session variable I cannot
access object's variables.

Print_r reports:

Array ( [0] => __PHP_Incomplete_Class Object (
[__PHP_Incomplete_Class_Name] => class_voucher_dettaglio [descrizione]
=> A3 [gg] => 1 [periodi] => 1 [base] => 23 [totale] => 23 )

This problem appears only when php retrieves variable from session_file
(that appear correct)

Reproduce code:
---------------
while (list ($key, $val ) = each ($_SESSION ["PREV_DETTAGLIO"] ) )
    {
         echo ($val->dettaglio); 
    }



Expected result:
----------------
list of values

Actual result:
--------------
nothing


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


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

Reply via email to