> 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
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
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
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
4 matches
Mail list logo