Re: Closing Databases
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16592
interpreted = N
texte = >You only need to worry if the database in WebCatalog has been modified -- >using something like [Append] [Replace] [Delete], etc. If the database is >'read-only', then simply uploading a new file and then doing a >[CloseDatabase] or [FlushDatabases] will re-read the new file.>I do not see the logic of first updating the database and then flushing/closing the database. When closing the database, what's in memory will be written to disk. If the file on disk is newer, writing to disk what's in memory will write old stuff over the new file just uploaded.How do I make sure that while uploading someone is not just placing an order?John ter Welleter.welle@lettrix.nl---------------------------------------------------------- -Internet is our business and webcommerce our specialty- Lettrix Grafische Automatisering http://www.lettrix.nl Willem Speelmanhof 27, 3762 JN Soest The Netherlands Phone: +31 35 6036262, Fax: +31 35 6036266 E-mail: ter.welle@lettrix.nl----------------------------------------------------------
Associated Messages, from the most recent to the oldest:
>You only need to worry if the database in WebCatalog has been modified -- >using something like
[append] [replace] [delete], etc. If the database is >'read-only', then simply uploading a new file and then doing a >
[closedatabase] or
[flushdatabases] will re-read the new file.>I do not see the logic of first updating the database and then flushing/closing the database. When closing the database, what's in memory will be written to disk. If the file on disk is newer, writing to disk what's in memory will write old stuff over the new file just uploaded.How do I make sure that while uploading someone is not just placing an order?John ter Welleter.welle@lettrix.nl---------------------------------------------------------- -Internet is our business and webcommerce our specialty- Lettrix Grafische Automatisering http://www.lettrix.nl Willem Speelmanhof 27, 3762 JN Soest The Netherlands Phone: +31 35 6036262, Fax: +31 35 6036266 E-mail: ter.welle@lettrix.nl----------------------------------------------------------
Sjoerd Jan ter Welle
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:
List Address Changed! (1998)
Associative lookup style? + bit more (1997)
Cookies (1999)
FM and Webcat together? (1998)
SET and C-SET (1998)
Help name our technology! (1997)
The List is Changing (1997)
$adminput doesn't allow [include] files (1997)
Multi vendor shop (2000)
PROBLEM (1997)
[WebDNA] Quick sort/results grouping Q (2008)
WebCatalog can't find database (1997)
Authenticate (1999)
ShowNext Command (1997)
WebCatalog2 Feature Feedback (1996)
Notepad problems (1998)
All questions are welcome on this list (1997)
Ends With (2003)
RequiredFields template (1997)
formulas.db problem solved (1998)