Apr 10 at 1:39pm, Tom Rogers wrote:
> Is your __sleep() function returning the array required by serialization?
Since you mentioned it, I tried returning an array and it did not
segfault, thought it was initially unclear what the array was for.
After reading over most of the documentation about s
Hi,
Saturday, April 10, 2004, 10:51:20 AM, you wrote:
KH> Apr 9 at 2:49pm, Jason Giangrande wrote:
>> Kelly Hallman wrote:
>> > Try it without serializing, it works.
>>
>> After retesting, it seems you are correct. I guess the same bad
>> __sleep() code that was causing the object not to unseri
Apr 9 at 2:49pm, Jason Giangrande wrote:
> Kelly Hallman wrote:
> > Try it without serializing, it works.
>
> After retesting, it seems you are correct. I guess the same bad
> __sleep() code that was causing the object not to unserialize at all was
> also preventing automatic serialization.
Fo
Kelly Hallman wrote:
Apr 9 at 11:12am, Jason Giangrande wrote:
You shouldn't serialize() objects prior to assign to a session variable.
The default session handler automatically serializes the data. Assigning a
serialized object value to a session just adds redundancy and overhead.
Actually, on
Apr 9 at 11:12am, Jason Giangrande wrote:
> > You shouldn't serialize() objects prior to assign to a session variable.
> > The default session handler automatically serializes the data. Assigning a
> > serialized object value to a session just adds redundancy and overhead.
>
> Actually, only if
Kelly Hallman wrote:
Apr 9 at 1:44am, Jason Giangrande wrote:
Jason Giangrande wrote:
I'm having a problem unserializing objects that are passed from page to
page with sessions. Registered globals is disabled so I am using the
$_SESSION array to store session variable
When I var_dump() $_SESS
Apr 9 at 1:44am, Jason Giangrande wrote:
> Jason Giangrande wrote:
> > I'm having a problem unserializing objects that are passed from page to
> > page with sessions. Registered globals is disabled so I am using the
> > $_SESSION array to store session variable
> >
> > When I var_dump() $_SESSI
Jason Giangrande wrote:
I'm having a problem unserializing objects that are passed from page to
page with sessions. Registered globals is disabled so I am using the
$_SESSION array to store session variable and am not using
session_register(). Here's what I'm doing.
On first page:
$auth = ne
8 matches
Mail list logo