DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009

    asp cart into database

    hi all,

    i have a shopping cart working fully at the minute, just having problems inputting the data into the database.

    I have a cart table: cartid, customerid

    i can get the customerid to input fine from a session however when i add more than one item to the cart i get different cart id's for the products i.e.

    1st product, cartid 1, customerid 1
    2nd product, cartid 2, customerid 1


    i do have a session on this page Session("cart") = cartID which does hold the correct value

    but going back to retrieve a second product adds 1 to the cartid
    can anyone help me please

  2. #2
    Join Date
    Jun 2008
    Raleigh-Durham, NC, USA
    Is your application hosted in a farm? Are cookies enabled in your browser? Either of these could affect the Session state not being stored from one request of the page to the next.
    Ahmed El-Ramly
    Architect Advisor

Similar Threads

  1. Replies: 0
    Last Post: 01-21-2009, 04:36 PM
  2. Database not properly created
    By Arjuna in forum Database
    Replies: 2
    Last Post: 07-25-2007, 03:22 AM
  3. Replies: 0
    Last Post: 04-04-2002, 08:29 AM
  4. ASP and Access Database on CD
    By Mike H in forum VB Classic
    Replies: 4
    Last Post: 03-20-2001, 09:50 AM
  5. converse asp code for access database from sql
    By deane in forum authorevents.mitchell
    Replies: 0
    Last Post: 10-16-2000, 10:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.