how to add items to a basket

N

nike

please i need help. I am doing a wed site online shopping system for my
school project, which requires some asp coding using vb script. I am new to
asp and have no knowledge whatsoever on how to code what i need.
Please please please could someone please provide me with help, or
coding on how to add item details into a basket record, once the user clicks
the add to basket link.
 
M

Mark Schupp

Have you done a design or are you trying to jump right into coding?

If you have not done a design yet you need to think through how the site is
to work. What will the user see, what will they have to do, what pages will
be displayed and about what they will look like.

I've never done a shopping cart myself but the critical part that usually
comes up on this newsgroup is how to store the user's list of items in
between pages. 2 ways are commonly in use:

Put the information in session variables. This is fast and easy to do
but sessions can expire (losing data), sessions require in-memory cookies to
be enabled, and session variables use server memory which could impact
performance on a heavily used site.

Keep the information in a database and pass an identifier around in a
session variable, or a hidden form field, or in the query string.

Once you get a little further along and have specific questions about how to
do things you should be able to get more detailed help here. However, it is
usually quicker to open a book on ASP and get answers to routine questions.
Also see www.aspfaq.com and some of the other ASP sites like www.asp101.com.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top