P
Pierre Alexis
A CGI script in C++ running on Apache RH appends the contents of an HTML
form to an existing text file. Several clients may fill out the form and
call the CGI script at the same time and thus more than one CGI instance
might try to open and append text to the file at the same time.
How can I lock the file so that only one single CGI instance will be
able to open and write to the file?
Thanks!
Pierre
form to an existing text file. Several clients may fill out the form and
call the CGI script at the same time and thus more than one CGI instance
might try to open and append text to the file at the same time.
How can I lock the file so that only one single CGI instance will be
able to open and write to the file?
Thanks!
Pierre