Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Preventing simultaneous access to a file by C++ CGI instances
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Pierre Alexis, post: 1484329"] 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 [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Preventing simultaneous access to a file by C++ CGI instances
Top