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 [EMAIL PROTECTED] "Matthieu Brunet" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 - [EMAIL PROTECTED] > 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 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]