|
Posted by steve on 10/26/05 03:21
| hey steve, read what i wrote before you reply. I commented on the fact
| that in PHP, sessions cannot store resources
will do...wait...i *did*.
my point was that your suggestion was not even applicable to his problem.
you explained how to serialize objects and unserialize them. great. where
does that get the op?
janwillem borleff nailed it on the head...which is probably the reason we
haven't heard back from the op.
| From: http://ca3.php.net/session
| Some types of data can not be serialized thus stored in sessions. It
| includes resource variables or objects with circular references (i.e.
| objects which passes a reference to itself to another object).
almost snipped the above quote...do i need to read that? does this help
anyone in this thread?
| Then I suggested serialize the OBJECT, which in Luther's case isn't a
| resource but a simple database object.
and, given that you yourself recognize that the resource luther is trying to
use is a db object, i find it odd (yet again) that you'd go down a frivilous
path of explaining how one can serialize objects when it won't make a rat's
ass of difference in the end. this is NOT his problem. why try to divert?
| how about you wait for Luther to respond before you start an unecessary
| discussion.
the unnecessary discussion is born of you in the form of serializing
objects. even so, the op has not responded and i presume it is b/c of
janwillem's explanation - which was spot-on.
i recognize your feeling are ruffled at this point...i'm not going to say
i'm sorry. stick to solving the problem and not growing more trees for the
forest.
Navigation:
[Reply to this message]
|