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
     
    Craig Cummine, Sep 11, 2003
    #1
    1. Advertising

  2. Craig Cummine

    Curt_C [MVP] Guest

    Why not just use a AutoNumber in the DB to be the ID and reference that?

    --
    ----------------------------------------------------------
    Curt Christianson (Software_AT_Darkfalz.Com)
    Owner/Lead Designer, DF-Software
    http://www.Darkfalz.com
    ---------------------------------------------------------
    ...Offering free scripts & code snippits for everyone...
    ---------------------------------------------------------


    "Craig Cummine" <> wrote in message
    news:3f5fb827$0$248$...
    > 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
    >
    >
     
    Curt_C [MVP], Sep 11, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. GeorgeF

    Perl Shopping Cart Scripts

    GeorgeF, May 21, 2005, in forum: Perl
    Replies:
    1
    Views:
    3,296
    James T
    May 22, 2005
  2. Bruce W...1

    Secure shopping cart example?

    Bruce W...1, Aug 26, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    639
    Bruce W...1
    Aug 27, 2003
  3. Mark Fox

    Shopping Cart Component Suggestions

    Mark Fox, Nov 4, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    397
    Jacob Yang [MSFT]
    Nov 4, 2003
  4. John
    Replies:
    1
    Views:
    380
    George Shubin
    Nov 7, 2003
  5. Paul Hobbs

    Shopping Cart - database vs session

    Paul Hobbs, Dec 4, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    2,835
    Jaxon
    Dec 4, 2003
Loading...

Share This Page