Re: [PHP] cookies and carts

2009-12-08 Thread Michael A. Peters
Allen McCabe wrote: I have a shopping cart type system set up which keeps track of the cart contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is equal to the quantity, so the name/value pair is all the information I need. But sessions are unreliable on the free server I am cu

Re: [PHP] cookies and carts

2009-12-08 Thread Jochem Maas
Allen McCabe schreef: > I have a shopping cart type system set up which keeps track of the cart > contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is > equal to the quantity, so the name/value pair is all the information I need. > > But sessions are unreliable on the free serv

Re: [PHP] cookies and carts

2009-12-07 Thread Paul M Foster
On Mon, Dec 07, 2009 at 02:39:28PM -0800, Allen McCabe wrote: > I have a shopping cart type system set up which keeps track of the cart > contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is > equal to the quantity, so the name/value pair is all the information I need. > > But

Re: [PHP] cookies and carts

2009-12-07 Thread Ashley Sheridan
On Mon, 2009-12-07 at 16:53 -0600, Philip Thompson wrote: > On Dec 7, 2009, at 4:46 PM, Ashley Sheridan wrote: > > > On Mon, 2009-12-07 at 16:48 -0600, Philip Thompson wrote: > >> > >> On Dec 7, 2009, at 4:40 PM, Ashley Sheridan wrote: > >> > >> > On Mon, 2009-12-07 at 14:39 -0800, Allen McCabe

Re: [PHP] cookies and carts

2009-12-07 Thread Philip Thompson
On Dec 7, 2009, at 4:46 PM, Ashley Sheridan wrote: > On Mon, 2009-12-07 at 16:48 -0600, Philip Thompson wrote: >> >> On Dec 7, 2009, at 4:40 PM, Ashley Sheridan wrote: >> >> > On Mon, 2009-12-07 at 14:39 -0800, Allen McCabe wrote: >> > >> >> I have a shopping cart type system set up which keeps

Re: [PHP] cookies and carts

2009-12-07 Thread Ashley Sheridan
On Mon, 2009-12-07 at 16:48 -0600, Philip Thompson wrote: > On Dec 7, 2009, at 4:40 PM, Ashley Sheridan wrote: > > > On Mon, 2009-12-07 at 14:39 -0800, Allen McCabe wrote: > > > >> I have a shopping cart type system set up which keeps track of the cart > >> contents using a SESSION variable, whe

Re: [PHP] cookies and carts

2009-12-07 Thread Philip Thompson
On Dec 7, 2009, at 4:40 PM, Ashley Sheridan wrote: > On Mon, 2009-12-07 at 14:39 -0800, Allen McCabe wrote: > >> I have a shopping cart type system set up which keeps track of the cart >> contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is >> equal to the quantity, so the nam

Re: [PHP] cookies and carts

2009-12-07 Thread Philip Thompson
On Dec 7, 2009, at 4:39 PM, Allen McCabe wrote: > I have a shopping cart type system set up which keeps track of the cart > contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is > equal to the quantity, so the name/value pair is all the information I need. > > But sessions are

Re: [PHP] cookies and carts

2009-12-07 Thread Ashley Sheridan
On Mon, 2009-12-07 at 14:39 -0800, Allen McCabe wrote: > I have a shopping cart type system set up which keeps track of the cart > contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is > equal to the quantity, so the name/value pair is all the information I need. > > But sessio