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:

Dummy Credit Card Number for debug? (1997) 3.0.8 PDF Manual? Do YOU have it? :) (2000) Out of the woodwork (2007) How to Display text in empty fields (1997) Integration with SQL (1997) Purchase command error problem (1997) Mac & Internet Explorer (2000) WebMerchant 1.6 and SHTML (1997) [tcpconnect] doing nothing- SM any help here??? (2001) Searching for the end (1998) Re:2nd WebCatalog2 Feature Request (1996) Any WebCatalog Server providers in Seattle? (1998) Feature: TCPconnect via SSL (1999) security (1997) Re[2]: Re[3]: Problem with new formvariables (2000) [OT] Merchant Accounts (2007) [OT] Democratic Code (2002) Hiding HTML and breaking the page (1997) WebTrends (2002) Problems getting parameters passed into email. (1997)