Technical References - [flushdatabases]

numero = 259
interpreted = N
texte = Putting [flushdatabases] in your template causes all databases to be written to disk and closed. This is only needed for special cases (usually before appending to a file) where you need to change a file that may be cached in RAM, and you do not know the exact name of the database. WebDNA automatically closes databases when it needs more memory, so you typically do not need to use this tag.

It is important to understand that writing all your databases to disk might take several seconds, depending on the size of your databases and the speed of your disk. In most cases, [commitdatabase] is more appropriate.

Putting [flushdatabases] in your template causes all databases to be written to disk and closed. This is only needed for special cases (usually before appending to a file) where you need to change a file that may be cached in RAM, and you do not know the exact name of the database. WebDNA automatically closes databases when it needs more memory, so you typically do not need to use this tag.

It is important to understand that writing all your databases to disk might take several seconds, depending on the size of your databases and the speed of your disk. In most cases, [commitdatabase] is more appropriate.


DOWNLOAD WEBDNA NOW!

Top Articles:

Tips and Tricks

A list of user-submitted tips ...

WebDNA Libraries

A list of available libraries for WebDNA...

WebDNA reference

...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

WebDNA Modules

A list of the currently available modules...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

Related Readings:

[username]

Using [password] and [username] is an easy was to show the browser login dialog box...

[capitalize]

Capitalizes the first letter of all words in a sentence...

[clearlineitems]

Remove all line items from the specified shopping cart...

[writefile]

[writefile] functions allows you to perform a wide variety of tasks...

[shell]

[shell] is a way to use the command line with your webserver...

[xsl]

Enables the WebDNA programmer to compile and apply XSL style sheets to XML data...