Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add a shopping cart app

Status
Not open for further replies.

Faster68

Programmer
Oct 29, 2000
1
US
I need to add a shopping cart app to a site with MySQL product database. What is the most efficient way to do so while also maintaining my custom site?
 
You could use JavaScript and cookies. That would mean no need to change your site to ASP or full blown CGI using Perl or some such thing. That would put the cart on the cleint side and you could use an external JavaScript file and just reference it off of every page using the cart. You would then only have to write a couple of ASP/CGI pages to do the checkout stuff. Its mostly client side then and so less changes required.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
right james, but also it's less secure ...
 
Depends on how you view it. Your gonna need SSL to do it anyway unless you write a Java Applet to encrypt transmissions on the client side.
Cookies are encrypted in a manner anyway so they are reasonably secure, and if its your machine then thats ok. You wouldn't store credit card details in a cookie so security isn't really an issue anyway.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top