Re: unique ascending numbers
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50198
interpreted = N
texte = Laurent Bache wrote:> I also noted doubles in the seriel numbers [cart].> The only method which currently functions without error on our sites, it > is to make by program, its own serial number.That is much more likely bad coding, rather than some problem with the unique [cart] function. For example, sending a link with an already existing cart number will reuse that number, even though when the attempt is made to purchase the system will recognize that the cart is not unique. There were also some Internet caches which would occasionally keep the cart number.This has nothing to do with whether new [cart]'s will always be unique. You'd have to provide some evidence that you are actually seeing doubles that were not due to bad code. I suppose I could write a Perl script which would spawn lots of child processes and hit a page which returns a new [cart] and match up what was returned with the time requested.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Laurent Bache wrote:> I also noted doubles in the seriel numbers [cart].> The only method which currently functions without error on our sites, it > is to make by program, its own serial number.That is much more likely bad coding, rather than some problem with the unique [cart] function. For example, sending a link with an already existing cart number will reuse that number, even though when the attempt is made to purchase the system will recognize that the cart is not unique. There were also some Internet caches which would occasionally keep the cart number.This has nothing to do with whether new [cart]'s will always be unique. You'd have to provide some evidence that you are actually seeing doubles that were not due to bad code. I suppose I could write a Perl script which would spawn lots of child processes and hit a page which returns a new [cart] and match up what was returned with the time requested.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Signal Raised Error (1997)
Calendar Program (2004)
2.1b3 --> way slow (1997)
Adding multiple items to Cart at one time, & append context problem (1998)
Initiating NewCart (1997)
remotely add + sign (1997)
Monthly Help File (1997)
bug ? causes NT event log to fill (1997)
OT (stupid redirect/refresh question) (2002)
SiteGuard Admin Feature ? (1997)
can WC render sites out? (1997)
using showpage and showcart commands (1996)
quantity minimum problem (1997)
A question on sub-categories (1997)
FEW QUESTIONS (1997)
b12 cannot limit records returned and more. (1997)
Migrating to NT (1997)
PayPal Instant Payment Notification (IPN) (2002)
using listfiles to build a database? (2000)
synching databases on multiple servers (1997)