Unique ID for shopping cart

Discussion in 'ASP General' started by Craig Cummine, Sep 11, 2003.

  1. hi,

    i'm about to write a shopping cart application and need to know the best way
    to assign a unique id to each order.

    previously i used the sessionid which i've since found out isn't unique.

    can someone please advise me as to the most reliable way to assign a unique
    id to a transaction.

    i'm using classic asp and an access database.

    i'd rather not use the session object due to issues with a previous shopping
    cart application.

    many thanks

    Craig Cummine, Sep 11, 2003
    1. Advertisements

  2. Craig Cummine

    Curt_C [MVP] Guest

    Why not just use a AutoNumber in the DB to be the ID and reference that?
    Curt_C [MVP], Sep 11, 2003
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.