Re: [PHP] Re: Creating an OO Shopping Cart

2006-04-21 Thread Richard Lynch
On Fri, April 21, 2006 12:21 am, Steve wrote: > So basically, on every page, be it a page that displays the contents > of > the cart, the checkout, or catalog pages, at the top of the code I > always need to check if files are being added, deleted or changed qty. > Is this correct? Yes. > This is

Re: [PHP] Re: Creating an OO Shopping Cart

2006-04-21 Thread Martin Alterisio
You don't need the unserialize(), it's done internally by the session_start(). All the things you put inside $_SESSION, except for resources, will be rebuilt when the session is regenerated. This way you don't need to worry about serializing. Read the manual section about sessions. 2006/4/21, Stev