Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Smokes a Lot
    Join Date
    Jul 2003
    CA, USA
    Thanked 20 Times in 20 Posts

    Lock file when in use

    Hello all,

    I'm wondering if anyone knows of any software for locking an asp \ html file when it is being worked on. We currently have 2 people working on a single application and would like to prevent us from overwriting each others work. At this time we are simply renaming the file on the test server when one of us is working on it. In times of haste however this leaves a margin for human error. I know dreamweaver has a similar capability, but we don't use a CMS of any kind. Any suggestions greatly appreciated.

    Last edited by Basscyst; 08-12-2005 at 10:21 PM.
    Helping to build a bigger box. - Adam Matthews

  2. #2
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Near Chicago, IL, USA
    Thanked 32 Times in 31 Posts
    I'd suggest using a source control system, such as CVS (free).
    You need something to keep an eye on it. Unless you roll your own, you'd need to download one, anyway. Go with a stable, free tool like CVS.

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit

  3. #3
    Regular Coder
    Join Date
    May 2005
    Michigan, USA
    Thanked 0 Times in 0 Posts
    You have to use a CMS. If you want to handle this correctly.
    Note: I do not test code. I just write it off the top of my head. There might be bugs in it! But if any thing I gave you the overall theory of what you need to accomplish. Also there are plenty of other ways to accomplish this same thing. I just gave one example of it. Other ways might be faster and more efficient.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts