gettingstarted
[Top] [All Lists]

Re: Multiple users writing to the same file

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Multiple users writing to the same file
From: Will Leshner <leshner at ljug dot com>
Date: Tue, 26 Oct 2004 07:39:30 -0700
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <000001c4bb25$96757280$bc128aac at mikesxp>

On Oct 25, 2004, at 11:32 PM, RBNUBE wrote:

If this in anyway plausible, how would you deal with more than one
person trying to edit the data and what would be the best way to achieve
this?


Personally, I think you'd have an easier time writing the server. If you want more than one person to be able to read/write to the same file, you'll have to figure out how to lock/unlock the file to keep only one person writing at a time. Actually, reading shouldn't be a problem. You just want to make sure only one person writes at a time. You might also want to consider using a database server like MySQL or PostgreSQL, though you'll still have the live update problem to work out.

--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.com

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>