flat assembler
Message board for the users of flat assembler.

Index > Heap > how to code a multi user application?

Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
any advice on how to code a multi user application that store data to database?
Post 24 Dec 2006, 21:52
View user's profile Send private message Reply with quote
kohlrak



Joined: 21 Jul 2006
Posts: 1421
Location: Uncle Sam's Pad
kohlrak
suuuuuuuuuuure. First off, you need 2 seperate programs, second you could use hooks (for the same computer) or winsocks (for computers outside yours) to do the job. Or you could develop a file system that uses HTTP or command prompt to enter mysql commands through cmd... THough, that's for windows. Your best bet is with winsocks and a server program.
Post 27 Dec 2006, 06:13
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger Reply with quote
farrier



Joined: 26 Aug 2004
Posts: 274
Location: North Central Mississippi
farrier
sleepsleep,

It depends on what database you are using and your access rights. Most database systems have a way to lock a file, table, and/or row/record. Some also have the capability to notify you when a record you are viewing or modifying has been modified or accessed by another user.

It also depends on whether you are coding the database yourself.

The distinction between local network access and internet access doesn't matter in many cases; except how you open the database.

In other words... what are you trying to do?

hth,

farrier

_________________
Some Assembly Required
It's a good day to code!
U.S.Constitution; Bill of Rights; Amendment 1:
... the right of the people peaceably to assemble, ...
The code is dark, and full of errors!
Post 27 Dec 2006, 15:33
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.