Re: Question re: FlushDatabases

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12673
interpreted = N
texte = In the Webcat Admin Pages you should find the option to Close all Databases. Ken also included this in his Speed Admin site that he posted up to the cutomer solutions area for all to use (thx Ken). Simply use either of these to force WebCat to close its databases prior to you uploading another copy.The important thing to keep in mind is that WebCat is making all changes to the databases in RAM and is not updating the copy on the hard disk unless: a) You quit the application. b) explicitly invoke either a [flushdatabase] or a [closedatabase] command. c) WebCat runs out of available RAm and self flushes the databases.So just remember to take some action to close down the databases you want to update prior to copying over a new version. Otherwise when WebCat does write its RAM held databases it will write over the new one you just uploaded - I can't tell you how many times I have done that to myself.As a safety precaution, I always include either a [flushdatabase] or [closedatabase] at the end of every template which is modifying the database. That way I'm assurred of the version on the hard drive remaining current. Others are doing the same and I think a few people might be doing a time-based [flushdatabase].hope that helps -marty >Good morning! > >Discovered yesterday that, unlike templates, databases are not updated >with a new modification date... :-( > >Am wondering how others on this list quickly update their databases; I >suppose adding a link on the Admin page? TIA, > >Dale Stokdyk >World Romance >dstokdyk@dvs.mv.com > >BTW -- very impressed with WebCatalog 2.0 -- much better documentation >and examples (compared to 1.6.1), and flexibility! Associated Messages, from the most recent to the oldest:

    
  1. Re: Question re: FlushDatabases (Kenneth Grome 1997)
  2. Re: Question re: FlushDatabases (Marty Schmid 1997)
  3. Question re: FlushDatabases (Dale Stokdyk 1997)
In the Webcat Admin Pages you should find the option to Close all Databases. Ken also included this in his Speed Admin site that he posted up to the cutomer solutions area for all to use (thx Ken). Simply use either of these to force WebCat to close its databases prior to you uploading another copy.The important thing to keep in mind is that WebCat is making all changes to the databases in RAM and is not updating the copy on the hard disk unless: a) You quit the application. b) explicitly invoke either a [flushdatabase] or a [closedatabase] command. c) WebCat runs out of available RAm and self flushes the databases.So just remember to take some action to close down the databases you want to update prior to copying over a new version. Otherwise when WebCat does write its RAM held databases it will write over the new one you just uploaded - I can't tell you how many times I have done that to myself.As a safety precaution, I always include either a [flushdatabase] or [closedatabase] at the end of every template which is modifying the database. That way I'm assurred of the version on the hard drive remaining current. Others are doing the same and I think a few people might be doing a time-based [flushdatabase].hope that helps -marty >Good morning! > >Discovered yesterday that, unlike templates, databases are not updated >with a new modification date... :-( > >Am wondering how others on this list quickly update their databases; I >suppose adding a link on the Admin page? TIA, > >Dale Stokdyk >World Romance >dstokdyk@dvs.mv.com > >BTW -- very impressed with WebCatalog 2.0 -- much better documentation >and examples (compared to 1.6.1), and flexibility! Marty Schmid

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:

Backwards list behavior ... (1997) security problem (1997) New public beta available (1997) Need relative path explanation (1997) Reversed words (1997) Protecting webdelivery (1997) Seeking Better Display of results... (1997) Double postings (2000) Date Help! (2003) PIXO support (1997) Web Developer Product Awards (1997) Help Please WebDNA 6 Secure Forms Problem (2004) Populating a db from a form textarea (2005) FlushDatabase Suggestion (1998) Searching for the end (1998) [OT] JS Help PLEASE (2006) date sorting and 'template (1997) Encrypt & SetHeader Length Problem (2000) Slow Server (2005) iTools and 3.0.8 (2000)