i access some files kept on server using my application. Multiple users can login into the application, i want to put some explicit lock on files that is opened by 1 of the user and want to release the lock when user either logs out or stop using the file.
Any help how to do it?
Thanks in advance