Modifying databases manually (was Re: Banner DNA)

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13823
interpreted = N
texte = >On occassion and I can't remember why I needed to >do it and when I do it I flush the webcat template cache and that >somethings fixes pages I am working on live that are acting strange and I >know they should not. But I think 2.0and up is smarter than the older beta >stuff, cause I can't remember doing this in a long time.The new WebCatalog checks the modification date and loads newly-modified copies of its templates automatically, thus you should no longer have to use the $FlushTemplates command. But flushing *databases* is another story ...To be completely safe about changing your database files manually, either quit the WebCat CGI, or if you're using the plugin quit WebSTAR, until you're done modifying a database file manually.The second-safest method (which will usually work) is to modify a *copy* of your database, then use the &FlushDatabases command immediately before replacing the original with your newly-modified copy.Sincerely, Ken Grome WebDNA Solutions 808-737-6499 http://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
>On occassion and I can't remember why I needed to >do it and when I do it I flush the webcat template cache and that >somethings fixes pages I am working on live that are acting strange and I >know they should not. But I think 2.0and up is smarter than the older beta >stuff, cause I can't remember doing this in a long time.The new WebCatalog checks the modification date and loads newly-modified copies of its templates automatically, thus you should no longer have to use the $FlushTemplates command. But flushing *databases* is another story ...To be completely safe about changing your database files manually, either quit the WebCat CGI, or if you're using the plugin quit WebSTAR, until you're done modifying a database file manually.The second-safest method (which will usually work) is to modify a *copy* of your database, then use the &FlushDatabases command immediately before replacing the original with your newly-modified copy.Sincerely, Ken Grome WebDNA Solutions 808-737-6499 http://www.hui.net/dna/webdna.html Kenneth Grome

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:

Verifying both name and password (was: New Problem) (1997) Running 2 two WebCatalog.acgi's (1996) IE Cache Problems... (1999) [WebDNA] TCPConnect example doesn't work (2017) WebCat2: Items xx to xx shown, etc. (1997) Summing fields (1997) change the number format (1997) Quickie question on the email templates (1997) emailer (1997) multi-paragraph fields (1997) append=T problem (1998) Newbie needs advice to learn to use WebDNA (2003) Candle Light Vigil (2001) notification solutions (1997) db protection on NT (1997) [WebDNA] port from mime headers? (2017) 2.1 pricing? (1998) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Grep support request for SMSI ... (2003) [WebDNA] [OT] BBEdit Glossary (2012)