469,327 Members | 1,226 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

Unique ID for shopping cart

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
Jul 19 '05 #1
1 2651
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" <cr****@freenet.co.uk> wrote in message
news:3f*********************@news.dial.pipex.com.. .
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

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Don Grover | last post: by
2 posts views Thread by Paul Bruneau | last post: by
1 post views Thread by madison | last post: by
1 post views Thread by Jia Sun | last post: by
2 posts views Thread by G.E.M.P | last post: by
1 post views Thread by jecha | last post: by
6 posts views Thread by frank | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by listenups61195 | last post: by
reply views Thread by Purva khokhar | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.