|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3265 Inconsistency in sessionized objects
Submitted: 2000-01-21 08:01 UTC Modified: 2000-06-23 21:58 UTC
From: staun at sunsite dot auc dot dk Assigned:
Status: Closed Package: Session related
PHP Version: 4.0 Latest CVS (21/01/2000) OS: Linux Redhat 6.0
Private report: No CVE-ID: None
 [2000-01-21 08:01 UTC] staun at sunsite dot auc dot dk
I have an object called $MODULEMASTER. This object contains an array of other objects. The MODULEMASTER is registred via session_register(), and saved to disk.
The module master supports 2 functions:


When I call getModuleOb() I receive an object as promised. I call this function in two different browser windows, but I should still have the same object at hand. But I don't. 
effects only one of the windows. I need to "write back" the object $ob
with the setModuleOb() function and make the other window poll the object again.

It seems that nomatter what I do, I keep getting a copy by value of this object.

Nomatter how many & I type in all the right places, I always end up in this "writing back" situation (which sucks). 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-03 14:51 UTC] sas at cvs dot php dot net
Type change
 [2000-06-23 21:58 UTC] sas at cvs dot php dot net
There is no way to serialize a binary relationship between objects. You might want to submit a feature request which details why you want this specific thing to get implemented.

Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 01:01:31 2024 UTC