[WebDNA] exclusive lock prevents dbs from closing

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107403
interpreted = N
texte = I asked about this a month or two ago but no one answered, and now I discovered the answer myself ... [exclusivelock] prevents the designated dbs (the ones named in the exclusivelock context) from being closed or flushed by webdna tags appearing inside the context. In other words, you cannot obtain an exclusivelock on a db and then close it in order purge it from RAM so that you can replace the db file on disk with a new one before a visitor requests that db ... ... because even though the db file on disk gets replaced, the original data which is still in RAM ends up overwriting the data on disk. Sincerely, Kenneth Grome Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] exclusive lock prevents dbs from closing (Donovan Brooke 2011)
  2. [WebDNA] exclusive lock prevents dbs from closing (Kenneth Grome 2011)
I asked about this a month or two ago but no one answered, and now I discovered the answer myself ... [exclusivelock] prevents the designated dbs (the ones named in the exclusivelock context) from being closed or flushed by webdna tags appearing inside the context. In other words, you cannot obtain an exclusivelock on a db and then close it in order purge it from RAM so that you can replace the db file on disk with a new one before a visitor requests that db ... ... because even though the db file on disk gets replaced, the original data which is still in RAM ends up overwriting the data on disk. Sincerely, Kenneth Grome 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:

Card clearance, problems - solutions? (1997) Virtual hosting and webcatNT (1997) Document Contains No Data msg (1997) No Access warning when caching HTML files (1997) calculate age (2003) webcat method for waiting specific amount of time? (2000) weird [hideif] happenings maybe . . . (2003) WebCat2 - [format thousands] (1997) what servers are supported for Typhoon? (1997) MAC FINDER (2001) Re:Dumb Question about Docs (1997) Help Please WebDNA 6 Secure Forms Problem (2004) Hiding HTML and breaking the page (1997) syntax question, not in online refernce (1997) Friendly , quick 'security' check, please (2003) What am I missing (1997) writing db to disk (1997) using listfiles to build a database? (2000) Bug Report, maybe (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997)