Re: [PHP] session storage

2003-01-13 Thread 1LT John W. Holmes
> i am writing a shopping site for training (just out of interest). > > When a user clicks "add to basket" i want to check whether an item with > that id is already in my session ($ALCOHOLE["items"]), if so, redirect > them the the view_cart page, if not then append it to the > $ALCOHOLE["items"] a

RE: [PHP] Session storage and the --with-mm option

2001-12-17 Thread Jaime Bozza
al Message- From: John Lim [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 9:27 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Session storage and the --with-mm option This doesn't explain why mm is causing such a memory bloat though. Mark, are you storing big arrays as session

Re: [PHP] Session storage and the --with-mm option

2001-12-14 Thread John Lim
This doesn't explain why mm is causing such a memory bloat though. Mark, are you storing big arrays as session variables? I am using mm myself for sessions and never have these problems (I only store less than 1K of data in sessions anyway). Regards, John Jeremy Allen <[EMAIL PROTECTED]> wrote

RE: [PHP] Session storage and the --with-mm option

2001-12-14 Thread Jeremy Allen
Sessions by default will use the file system to store session data. Using the file system on a site that utilizes sessions moderately can be negative as far as performance goes. Using shared memory simply means that session data is now stored in shared memory. Shared memory is a bit more efficien