you have to use Cgi's
Common Gateway Interface
after chose a language
perl (most used for cgi works uder unix and win32)
php (dont know much about this ..but seems very realiable)
c++ (unless u gained imortality dont use c++ for cgi script)
etc...
then u create your shoping cart cgi
this cgi will deal with :
data process (store secret variable)
data storage (to extend the power of the cookie)
sending data (to notice u that they want to buy something)
print html to the browser (item x has benn hadden , thanks , etc..)
happy coding !
ps: u could always use javascript and cookies
but my friends ..server code is so more powerfull & secure ---------------------------------------
someone knowledge ends where
someone else knowledge starts