Multi users

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Glenn Boyce
Posts: 137
Joined: Thu Jul 24, 2008 11:22 pm

Multi users

Post by Glenn Boyce » Fri Sep 24, 2010 12:28 am

I have a little Customer Relationship Management application up and running now. I'm using another stack as the database as there are some politcal reasons not to use a proper one! There are only three of us using the application which I have running on a shared drive. Is there a way I can limit access if another user is on line? I understand that the setup I currently have is not really designed for multiuser but it's streets ahead of what we had before so we'll put up with the downsides.
cheers
Glenn

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Multi users

Post by shadowslash » Fri Sep 24, 2010 5:39 am

That depends on what you want to limit? Do you want to limit access to the stack? Limit some commands? Etc. If you want to limit in-stack related things and you aren't using a real database, you can consider outputting the limit flag on an external file like a text file then have your stack read it at some point in the process. If your stack detects that the flag is up then your stack will limit the actions of the user, etc.
Parañaque, Philippines
Image
Image

Glenn Boyce
Posts: 137
Joined: Thu Jul 24, 2008 11:22 pm

Re: Multi users

Post by Glenn Boyce » Fri Sep 24, 2010 6:21 am

I'm currently writing to the data stack each time the application stack is closed and reading each time it is opened. I guess I could change it so the data is downloaded in realtime. If I were to do that what would be the best way of limiting access. You are talking to a novice!

Post Reply