#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Manchester, UK
    Posts
    80
    Rep Power
    13

    Unhappy File locking in ASP


    Hi,

    I've had a root around but can't find any online resources that can help me with a file locking problem. I've been lumbered with an ASP problem to solve, however, I'm not an ASP developer

    I need to write one or two lines to a file but potentially tens or hundreds of users could be requesting updates at the same time. I want to use file locking to ensure that processes wait until the file is available, but I can't find any examples anywhere! I've trawled MSDN but mainly get SQL-Server results.

    If file locking is not an option, does anyone have any suggestions?

    Cheers - Robert.
  2. #2
  3. #3
  4. superficial
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    Peterborough, England
    Posts
    188
    Rep Power
    13
    if theres a possibility that hundreds of users will access it concurrently then you probably need a multi-threaded database system, i.e. sql server or oracle.

    ms access is an alternative but its not necessarily made for the web and isnt multi-threaded, however, it performs reasonable from experience on small-medium applications that arent completely pounding it constantly.
    _______________
    Matt

IMN logo majestic logo threadwatch logo seochat tools logo