in reply to Re: Simplest CGI Persistence Solution?
in thread Simplest CGI Persistence Solution?
I want web users to share access to the same data, stored in one file. Ideally the CGI is very fast, so the problem of parallel conflicting updates is reduced.
I see two dangers:
I could avoid (2.) entirely if, as was suggested to me, the script locks the file as soon as it reads it and doesn't release it until it's done writing to it. As long as things are fast and nothing goes wrong with the script preventing it from releasing, this should work.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Simplest CGI Persistence Solution?
by Trimbach (Curate) on Apr 02, 2001 at 16:46 UTC |