Friday, January 16, 2009

Check In/Check Out in CM

Understanding how Check In/Check Out works

Dreamweaver knows whether a file has been Checked In or Out by using .LCK files which it writes both locally and on the server. An .LCK file is a simple text file
containing only the user's Check Out Name (and e-mail address, if provided).

Check Out
When a file is checked out from the remote site, an extra file is written to the local site folder. The extra file has the same name as the original file, with an added
.LCK extension. The file is written in the same folder as the checked-out file. For example, checking out index.htm will generate a file by the name of index.htm.LCK
in the same folder.

Dreamweaver will also write an .LCK file in the remote folder for each file that is checked out.
These .LCK files are not visible within the Dreamweaver Site window, but can be seen outside of the Dreamweaver interface or by using a different FTP application.

Check In
When a file is checked in to the remote site, the LCK for that file is deleted on the remote site. Also, the local LCK is deleted from the computer of the user who
checked the file in.When a file is checked in to the remote site, the local version of that same file will be made read-only in the local site

No comments:

Post a Comment