Forum Moderators: buckworks

Message Too Old, No Replies

JS/Cookie vs. Session ID/server-side cart?

which? why?

         

tkroll

9:36 am on Jan 15, 2004 (gmt 0)

10+ Year Member



I'm wondering what to use for my new site.

I have two main choices for shopping carts:

A client-side solution with Javascript and cookies

-- OR --

A server-side solution using session IDs in query strings (or cookies, I guess) and a database.

I really like the transparency of the JS/cookie solution as it allows great SE visibility. Downside, of coure is if the user has JS/cookies disabled. But is this really a current problem? Seems like most casual users (casual customers) don't know how to turn off either in IE.

What do the experts think?

Thanks!

BlobFisk

11:09 am on Jan 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My vote would be for a server side language solution. It's more secure and (as you mentioned) won't fail for people who browser with no javascript support (some screen readers).