Re: When to Commitdatabase?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59881
interpreted = N
texte = What my coworker and I have found through testing is that when the =preferences box is checked a default [commitdatabase] happens once when =the page has been completely interpreted - NOT immediately after every [=delete], [replace], or any other tag is interpreted.So, you still have to make sure you've committed after any modifications =if you're going to write more code based off of that modification directly =afterwards. But if it's the last modification in your template you don't =have to commit because it's default when the page has been completely =interpreted (since you have checked that box in preferences).I'm still interested in a list for which tags/contexts specifically need =to be used with [commitdatabase] if anyone has one. I have a few untested =theories about using a [commitdatabase] after tags versus contexts. =Thanks.Justin CarrollOn Friday, December 24, 1943, Gary Krockover
=wrote:>I'd be interested in others opinions on this as well, but I've found that =I=20>need to commit after any database write - append, replace or delete,=20>otherwise the results aren't immediate.>>GK>>At 06:20 AM 11/4/2004, you wrote:>>I'm using WebCatalog 4.5.1 for Macintosh. In our server's WebCatalog=20>>preferences we have "Automatically commit databases to disk after being=20>>modified" checked. But I've noticed that this doesn't work on a [delete]==20>>tag. Does anyone know what tags, specifically, that I need to use a=20>>[commitdatabase] after and which of them I don't? Thanks.>>>>Justin Carroll>>>------------------------------------------------------------->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/>-------------------------------------------------------------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:
What my coworker and I have found through testing is that when the =preferences box is checked a default [commitdatabase] happens once when =the page has been completely interpreted - NOT immediately after every [=delete], [replace], or any other tag is interpreted.So, you still have to make sure you've committed after any modifications =if you're going to write more code based off of that modification directly =afterwards. But if it's the last modification in your template you don't =have to commit because it's default when the page has been completely =interpreted (since you have checked that box in preferences).I'm still interested in a list for which tags/contexts specifically need =to be used with [commitdatabase] if anyone has one. I have a few untested =theories about using a [commitdatabase] after tags versus contexts. =Thanks.Justin CarrollOn Friday, December 24, 1943, Gary Krockover =wrote:>I'd be interested in others opinions on this as well, but I've found that =I=20>need to commit after any database write - append, replace or delete,=20>otherwise the results aren't immediate.>>GK>>At 06:20 AM 11/4/2004, you wrote:>>I'm using WebCatalog 4.5.1 for Macintosh. In our server's WebCatalog=20>>preferences we have "Automatically commit databases to disk after being=20>>modified" checked. But I've noticed that this doesn't work on a [delete]==20>>tag. Does anyone know what tags, specifically, that I need to use a=20>>[commitdatabase] after and which of them I don't? Thanks.>>>>Justin Carroll>>>------------------------------------------------------------->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/>-------------------------------------------------------------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/
Justin Carroll
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:
tcpsend formatting issue ... (2004)
Problem with webcat install (1998)
[WebDNA] DBServer.exe Max CPU (2014)
Database Options (1997)
IE cache problems (1999)
SSL with IIS 4.0 (1998)
DON'T use old cart file! (1997)
Emailer again & again (1997)
WebMerchant when CC network is down (1998)
listfiles-looking for slick solution (1997)
Emailer question (2003)
Lock out multiple users with same password? (1999)
[WebDNA] heads up - are your sandbox prefs broken? (If not, are you vulnerable to formvar hacks?) (2011)
Pop-up menu (1998)
Access Denied! But why? (1997)
webcat- multiple selection in input field (1997)
Macauth: Dates and No Scripting... (1997)
Caching [include] files ... (1997)
Beta Bug in prefs (1997)
Re:no [search] with NT (1997)