PHP Sessions

less than 1 minute read

One more thing,

If you do stuff like put instances of classes inside a session and expect to call methods of this classes later, you must put the session start after you include the classes definitions.

But I suggest not to do this kind of stuff.

Leave a comment