Persisting php objects with serialization and sessions

PHP objects can persist across multiple pages if you combine serialization and a session. See an example of the basic idea in this video. I’m working on a tutorial that will use the same idea to create an OOP shopping cart.

This screen cast is a supplement for my self-published e-book Thomas Blom Hansen: magic php, available through http://www.saxo.com/dk/thomas-blom-hansen-magic-php-2nd-edition_pdf_9788740423648

source