Shopping cart using cf
hi all,
For building a shopping cart, my plan is to use session variables to hold users cart data. And I dont like to use cookies in this app. Can I manage this only with session? Your advise pls....
thanks
hi all,
For building a shopping cart, my plan is to use session variables to hold users cart data. And I dont like to use cookies in this app. Can I manage this only with session? Your advise pls....
thanks
Thanks for the very valued information...
now I got cleared...but just for curiosity, I am asking which is the more popular approach for cart system, is it using fully session approach or with cookies ...just to know only for tat...Suppose a person going to build a free cart application to public, what approach he should use?
anyway thanks for your time...
A cookie based shopping cart would be quite tricky to implement. Cookies have some notable limitations. They can not store complex data, only simple name and value pairs - complex data would have to be serialized. They have a limited size and a limited number allowed. They can be deleted by users at their whim. To name a few examples.
I would expect a ColdFusion based shopping cart to make use of the ColdFusion data features. Making use of the session, application, and server scopes as well as database and file system storage. But from these basic, simple assumptions a nearly infinite combination of implementations are possible to best match each individual application's requirements.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.