Hi
I'm storing a class in a sessionvariable and all is fine... Until I access the same session- variable in another file. Then I can't seem to fetch the members of the class... When I do print_r on it php says that it's an incomplete_class... But the members are still there and correct..
Someone know why??
regards tores
edit: Okey... Think I found the problem... U should always include the file where the class is defined BEFORE u do session_start()... This solved my problem:)
[SOLVED] accessing data from a incomplete class
Moderator: General Moderators