Unique Identifier

R

Raymondo

2nd Question today, sorry.. For my secure e-payment form I need to be able
to insert a unique identifier into a hidden field. Preferably I would like
it to be a 9 figure number that increases by one for each customer - then I
caould use this for invoicing as well. But a unique generated number would
be ok. Any ideas?
 
S

Stefan B Rusynko

For an incrementing number you would need a DB solution
- best you can do w/o one is the date/time (no guarantee it will be 100% unique)




| 2nd Question today, sorry.. For my secure e-payment form I need to be able
| to insert a unique identifier into a hidden field. Preferably I would like
| it to be a 9 figure number that increases by one for each customer - then I
| caould use this for invoicing as well. But a unique generated number would
| be ok. Any ideas?
 
K

Kevin Spencer

It can also be done with a simple text file containing a number, but would
require server-side programming to open the file, increment the number, and
save the file back. This is how most hit counters work.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Paranoia is just a state of mind.
 
Top