|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
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
|
||||
|
||||
|
use a database
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
|
#3
|
||||
|
||||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Windows Help > File locking in ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|