Re: cart in a session
| From: | Bill | Date: | Mon, 10 Mar 2008 19:56:15 +0000 |
| Subject: | Re: cart in a session | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271223@lists.php.net to get a copy of this message | ||
>> Is it a good idea to put a cart in a session var since the cart will be
>> an
>> array ?
>
> Yes, and it's far more secure than putting the actual data into a
> cookie, since that can be changed on the client-side to alter prices
> and other data.
Thanks