Gossamer Forum
Home : Products : DBMan : Customization :

File locking

Quote Reply
File locking
Can anyone tell me precisely what the file locking option does? I am looking to try and access one copy of default.db by two different db.cgi what I am hoping is the file locking will enable this to happen safely, or maybe I have the wrong idea completely.

Quote Reply
Re: File locking In reply to
I'm not how precise you want the description, but file locking will temporarily lock a file while it is being added, deleted, or modified to prevent database corruption.

I think what you are planning can be safely done if your on a unix server. As you may have read in the .cfg file this does not work on all servers (i.e. Win95).

Hope this helps

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: File locking In reply to
Thank you for your reply, I had some idea that this was the case, I need to have some extra security devices and also three ways of displaying the same data and did not want to get entangled with "if else" nesting in the html.pl file to produce THREE options so thank you for your help it has given me the ability to now go test on a unix server. Thanks once again. Redtin