Re: CloseDataBase vs CommitDataBase

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68845
interpreted = N
texte = > The only issue you would have with this, is if two people submitted > simultaneously. You could still end up with two entries having the > same id. Using BlogID=[cart] would prevent simultaneous posts from > ever getting the same ID. Obviously, if you are parsing the ID > number for use elsewhere, the cart id might not work, but it would > be the safest. I guess I should also mention that if you are already passing in a cart value, using the [cart] tag would not work to generate a unique ID, since it would use the one passed in, instead of generating a new one. It looks like, according to the WebDNA docs, that as of version 5, you can use an 'autonumber' parameter to generate a unique ID. Since I am only using version 4.5.1, I cannot comment on how well this works. I am sure others can elaborate on whether this works as it looks like it should. Dennis ------------------------------------------------------------- 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:

    
  1. Re: CloseDataBase vs CommitDataBase ( Terry Wilson 2007)
  2. Re: CloseDataBase vs CommitDataBase ( thierry 2007)
  3. Re: CloseDataBase vs CommitDataBase ( Donovan Brooke 2007)
  4. Re: CloseDataBase vs CommitDataBase ( "Dennis J. Bonsall, Jr." 2007)
  5. Re: CloseDataBase vs CommitDataBase ( "Dennis J. Bonsall, Jr." 2007)
  6. Re: CloseDataBase vs CommitDataBase ( Lester 2007)
  7. Re: CloseDataBase vs CommitDataBase ( Donovan Brooke 2007)
  8. Re: CloseDataBase vs CommitDataBase ( "Dennis J. Bonsall, Jr." 2007)
  9. Re: CloseDataBase vs CommitDataBase ( Donovan Brooke 2007)
  10. Re: CloseDataBase vs CommitDataBase ( Donovan Brooke 2007)
  11. Re: CloseDataBase vs CommitDataBase ( "Dennis J. Bonsall, Jr." 2007)
  12. Re: CloseDataBase vs CommitDataBase ( Lester 2007)
  13. Re: CloseDataBase vs CommitDataBase ( "Dennis J. Bonsall, Jr." 2007)
  14. CloseDataBase vs CommitDataBase ( Lester 2007)
> The only issue you would have with this, is if two people submitted > simultaneously. You could still end up with two entries having the > same id. Using BlogID=[cart] would prevent simultaneous posts from > ever getting the same ID. Obviously, if you are parsing the ID > number for use elsewhere, the cart id might not work, but it would > be the safest. I guess I should also mention that if you are already passing in a cart value, using the [cart] tag would not work to generate a unique ID, since it would use the one passed in, instead of generating a new one. It looks like, according to the WebDNA docs, that as of version 5, you can use an 'autonumber' parameter to generate a unique ID. Since I am only using version 4.5.1, I cannot comment on how well this works. I am sure others can elaborate on whether this works as it looks like it should. Dennis ------------------------------------------------------------- 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/ "Dennis J. Bonsall, Jr."

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:

math on date? (1997) # fields limited? (1997) Num Sort Descending (2004) Grep help, please ... (2003) Searching Multiple DBs (1997) [SMSI] WebDNA is too good to go away! (2006) Just Testing (1997) Press Release hit the NewsWire!!! (1997) Can webcat 3.0/4.0 handle 1,000,000 hits a day? (2000) Buggy Code (1998) [shownext max (1997) Duplicate Cart Numbers (1999) carriage returns in data (1997) Not really WebCat (1997) taxTotal, grandTotal (1997) Calculating multiple shipping... (1997) Insert textfields with variables (2000) Img in goodpath (2001) UPDATE PROBLEM (1997) [WebDNA] seconds_to_time (2017)