Re: serialize object & session_auto_start
| From: | Chris Lee | Date: | Thu, 06 Dec 2001 00:22:47 +0000 |
| Subject: | Re: serialize object & session_auto_start | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76807@lists.php.net to get a copy of this message | ||
to be blunt. then dont use session.auto_start. classes must be defined
before variables can be created based on that class, obviously. the proper
order has to be.
- class definition
- session initialized
--
Chris Lee
lee@mediawaveonline.com
"Matthieu Brunet" <brunet@reseau-photo.com> wrote in message
news:20011205161618.66046.qmail@pb1.pair.com...
> Hi,
> I'm trying to save an object in the session, with the serialize and
> uunserialize fonction.
> But i got an error message wich say me that i must define the class before
> the session start.
> But my session start automaticly. So I can't include my class before the
> session start.
> I'm looking for a workaround.
>
> Thanks
>
> --
> --
> Matthieu Brunet - matthieu.brunet@reseau-photo.com
> Réseau-Photo S.A. - http://www.reseau-photo.com
> 15, rue du Général Campredon - 34000 Montpellier
> Tél. : 04 67 58 07 08 - Fax : 04 67 58 03 04
> Icq : 119683958
>
>
>