[Pdx-pm] Shopping Cart Logic
Randal L. Schwartz
merlyn at stonehenge.com
Fri Mar 7 12:06:19 CST 2003
>>>>> "Ovid" == Ovid <poec at yahoo.com> writes:
Ovid> --- Carl Scripter <carl at scripter.com> wrote:
>> If you are absolutely against stale records in the database, keep
>> all the cart information in a cookie -- at least there's a /good/
>> chance the user sees them again.
Ovid> With all due respect, you don't want to do that. A cookie should
Ovid> *typically* be an apparently random piece of data (a session) that
Ovid> ties the external user-agent to an internal record. Yes, maybe
Ovid> storing a bit of data such as "the user wants this stylesheet" in a
Ovid> cookie is okay for a small site, but if you're doing anything serious,
Ovid> you shouldn't be abusing cookies.
A useful bookmark:
<http://www.stonehenge.com/merlyn/WebTechniques/col61.html>
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
More information about the Pdx-pm-list
mailing list