Re: [PHP4BETA] Session bug & other session questions...
| From: | thies at digicol dot de | Date: | Thu, 20 Apr 2000 14:11:30 +0000 |
| Subject: | Re: [PHP4BETA] Session bug & other session questions... | ||
| References: | 1 2 3 4 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13788@lists.php.net to get a copy of this message | ||
On Thu, Apr 20, 2000 at 09:59:23AM -0400, mark kimsal wrote:
> I thought it was well known that you can't register objects in the session. Am I
> wrong?
yes
>
> thies@digicol.de wrote:
>
> > On Wed, Apr 19, 2000 at 09:43:56PM -0700, Seth Banks wrote:
> > > After doing some testing on this, I have seen that general wierdness happens
> > > when I do the following things.
> > >
> > > 1: Start Session.
> > > 2: Create an instance of an object.
> > > 3: Register said object to the session.
> > > 4: Set object properties.
> > > 5: Go to another page.
> > > 6: Start session.
> > > 7: Call a method within the object registered to the session.
> > >
> > > "Wierdness" seen...
> > >
> > > Properties of object taking over values of other variables.
> > > Error: Call to undefined function...
> >
> > i don't understand why you need 2 pages?
> >
> > >
> > > I can boil it down to two files and about 30 lines if you want to see it
> > > still.
> >
> > just send both to me...
> >
> > >
> > > - Seth
> > >
> > > -----Original Message-----
> > > From: thies@digicol.de [mailto:thies@digicol.de]
> > > Sent: Wednesday, April 19, 2000 1:26 AM
> > > To: Seth Banks
> > > Subject: Re: [PHP4BETA] Session bug & other session questions...
> > >
> > >
> > > On Wed, Apr 19, 2000 at 01:23:15AM -0700, Seth Banks wrote:
> > > > actually, if you look at the bug, it requires 3 files to reproduce. i
> > > don't
> > > > think i can boil the code down to anything less than is there, but i will
> > > > try and send it off to you....
> > >
> > > includes are *never* needed - they are just nice to have!
> > >
> > > again - all i'm asking for is that _you_ try to cut the
> > > testcase down as much as possible (do we really need the
> > > form?) so that _i_ can concentrate on the bug. believe me i
> > > have spend countless hours to create as-small-as-possible
> > > testcases out of >1000 lines of spaghetti code for the zend
> > > guys to look at -> with the result that my bug got fixed
> > > withing hours!
> > >
> > > tc
> > >
> > > >
> > > > 3 files needed...
> > > >
> > > > class file, form, submission page
> > > >
> > > > -----Original Message-----
> > > > From: thies@digicol.de [mailto:thies@digicol.de]
> > > > Sent: Tuesday, April 18, 2000 11:11 PM
> > > > To: Seth Banks
> > > > Cc: php4beta@lists.php.net
> > > > Subject: Re: [PHP4BETA] Session bug & other session questions...
> > > >
> > > >
> > > > On Tue, Apr 18, 2000 at 10:48:23PM -0700, Seth Banks wrote:
> > > > > The full bug is explained here...
> > > > >
> > > > > http://bugs.php.net/version4/?id=3974
> > > >
> > > > please send me *one* ~10 line page-file that shows the bug - and
> > > > i'll look at it.
> > > >
> > > > i don't want to spend my time on creating a testcase out of
> > > > your snippets - but i'm willing to help if _you_ create the
> > > > self-contained, i-can-reproduce-by-placing-in-my-webroot,
> > > > easy-to-understand file.
> > > >
> > > > regards,
> > > > tc
> > > > >
> > > > > I included code. If you have problems reproducing it, let me know. It
> > > > > happened on 4.0 rc1 for me.
> > > > >
> > > > > - seth
> > > > >
> > > > > -----Original Message-----
> > > > > From: thies@digicol.de [mailto:thies@digicol.de]
> > > > > Sent: Tuesday, April 18, 2000 10:25 PM
> > > > > To: seth banks
> > > > > Cc: php4beta@lists.php.net
> > > > > Subject: Re: [PHP4BETA] Session bug & other session questions...
> > > > >
> > > > >
> > > > > On Tue, Apr 18, 2000 at 12:42:51PM -0700, seth banks wrote:
> > > > > > Does anyone know if the problem with registering objects to the
> > > session
> > > > > > then being able to read the correct values from them has been fixed?
> > > > This
> > > > > > has been submitted as a bug, but looks like nothing has been done on
> > > > > > it...?
> > > > > could you please the shortest possible testcase for this to
> > > > > me (10 lines) - i could have a look at it. objects *should*
> > > > > work within session. (BTW: do you know about the new
> > > > > __sleep() and __wakeup() calls?)
> > > > >
> > > > > >
> > > > > > Also, a while ago there had been some discussion about how php4's
> > > > > > implementation of session was just a framework, to be used in db
> > > > > > implementation, etc. Does anyone have some text explaining how to go
> > > > about
> > > > > > this extention of the framework? The info that I found on zend.com was
> > > > > > somewhat lacking.
> > > > > >
> > > > > > - Seth
> > > > > >
> > > > > >
> > > > > > --
> > > > > > PHP 4.0 Beta Mailing List
> > > > > > <http://www.php.net/version4/>
> > > > > > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> > > > > > For additional commands, e-mail: php4beta-help@lists.php.net
> > > > > > To contact the list administrators, e-mail:
> > > php4beta-admin@lists.php.net
> > > > >
> > > > > --
> > > > >
> > > > > Thies C. Arntzen "One Big-Mac, Small Fries and a
> > > > > Coke!"
> > > > > Digital Collections Phone +49 40 235350 Fax +49 40 23535180
> > > > > Hammerbrookstr. 93 20097 Hamburg / Germany
> > > >
> > > > --
> > > >
> > > > Thies C. Arntzen "One Big-Mac, Small Fries and a
> > > > Coke!"
> > > > Digital Collections Phone +49 40 235350 Fax +49 40 23535180
> > > > Hammerbrookstr. 93 20097 Hamburg / Germany
> > > >
> > > > --
> > > > PHP 4.0 Beta Mailing List
> > > > <http://www.php.net/version4/>
> > > > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> > > > For additional commands, e-mail: php4beta-help@lists.php.net
> > > > To contact the list administrators, e-mail: php4beta-admin@lists.php.net
> > >
> > > --
> > >
> > > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
> > > Digital Collections Phone +49 40 235350 Fax +49 40 23535180
> > > Hammerbrookstr. 93 20097 Hamburg / Germany
> >
> > --
> >
> > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
> > Digital Collections Phone +49 40 235350 Fax +49 40 23535180
> > Hammerbrookstr. 93 20097 Hamburg / Germany
> >
> > --
> > PHP 4.0 Beta Mailing List
> > <http://www.php.net/version4/>
> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> > For additional commands, e-mail: php4beta-help@lists.php.net
> > To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany