Technical References - [closedatabase]

[CLOSEDATABASE db=FileName]

numero = 197
interpreted = N
texte = Putting [closedatabase db=name.db] in your template causes the specified database file (or full path) to be written and closed. This is only needed for special cases (usually before appending to a file) where you need to change a file perhaps cached in RAM.

WebDNA automatically closes databases when it needs more memory, so you typically do not need to use this tag.

Adding 'commit=F' will cause the specified database file to be closed but not written to disk, so any unsaved changes will be lost

Putting [closedatabase db=name.db] in your template causes the specified database file (or full path) to be written and closed. This is only needed for special cases (usually before appending to a file) where you need to change a file perhaps cached in RAM.

WebDNA automatically closes databases when it needs more memory, so you typically do not need to use this tag.



Adding 'commit=F' will cause the specified database file to be closed but not written to disk, so any unsaved changes will be lost


DOWNLOAD WEBDNA NOW!

Top Articles:

WebDNA Libraries

A list of available libraries for WebDNA...

WebDNA Modules

A list of the currently available modules...

Download WebDNA Applications

WebDNA applications...

F.A.Q

A compilation of some user's questions...

Tips and Tricks

A list of user-submitted tips ...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Related Readings:

[shell]

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

[listchars]

Breaks a string of text into separate characters...

[createfolder]

Create an empty folder on your webspace...

Database format

...

[orderfile]

Displays the contents of a shopping cart...

[scope]

Explicitly define a block of WebDNA code that has a separate variable space...