multi-user

How to implement a simple lock mechanism for multi-user application?

北慕城南 提交于 2019-12-04 21:34:02
问题 I really don't want to re-invent the well here, so I'm asking for ideas to implement a simple (row) lock mechanism in a multi-user DB application. Suppose I have a Table called Products which of course has an ID (PK), and also a rowversion column (which is not used so far), and I want to allow only one user to be able to Edit a specific row. While this users is editing the record (after a "check in"), other users can only View this record (read-only), but not modify or delete it. when the

XMPP Room Invitation

我只是一个虾纸丫 提交于 2019-12-04 15:12:21
In my chatting application I want to implement Group Chatting functionality. For the same I want to create rooms and send the invitations to my friends to join the room. Here is my code to join and invite the friend to room. To Create the Room //Create Room btn_CreateRoom = (Button)findViewById(R.id.btn_usermenu_CreateRoom); btn_CreateRoom.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View arg0) { // TODO Auto-generated method stub try { muc = new MultiUserChat(connection, "room1@conference.abc.com"); muc.join("Sunil","123456"); muc.sendConfigurationForm(new

How to design a multi-user ajax web application to be concurrently safe

点点圈 提交于 2019-12-04 07:17:51
问题 I have a web page that shows a large amount of data from the server. The communication is done via ajax. Every time the user interacts and changes this data (Say user A renames something) it tells the server to do the action and the server returns the new changed data. If user B accesses the page at the same time and creates a new data object it will again tell the server via ajax and the server will return with the new object for the user. On A's page we have the data with a renamed object.

How to see who is using my Access database over the network?

断了今生、忘了曾经 提交于 2019-12-04 01:30:44
问题 I actually have 2 questions: 1. How might I see who is using my Access database? E.g: There is someone with an Access database opened and it created the .ldb file, I would like to see a list of who opened that database (it could be more than one person). 2. How might I see who is using a linked table? E.g: I have 10 different Access databases, and all of them are using a same linked table. I would like to see who is using that linked table. I don't even know if it's really possible, but I

multi-user application record locking - best method?

时光总嘲笑我的痴心妄想 提交于 2019-12-03 20:08:20
I'm developing a php / mysql application that handles multiple simultaneous users. I'm thinking of the best approach to take when it comes to locking / warning against records that are currently being viewed / edited. The scenario to avoid is two users viewing the record, one making a change, then the other doing likewise - with the potential that one change might overwrite the previous. In the latest versions of WordPress they use some method to detect this, but it does not seem wholly reliable - often returning false positives, at least in my experience. I assume some form of ajax must be in

How to implement a simple lock mechanism for multi-user application?

蓝咒 提交于 2019-12-03 13:55:49
I really don't want to re-invent the well here, so I'm asking for ideas to implement a simple (row) lock mechanism in a multi-user DB application. Suppose I have a Table called Products which of course has an ID (PK), and also a rowversion column (which is not used so far), and I want to allow only one user to be able to Edit a specific row. While this users is editing the record (after a "check in"), other users can only View this record (read-only), but not modify or delete it. when the user is done and saved the record ("check out") this record will be again available for editing/deleting

How to set up a development environment in MS Access

北城余情 提交于 2019-12-03 05:20:07
问题 I have created an MS Access 2003 application, set up as a split front-end/back-end configuration, with a user group of about five people. The front end .mdb sits on a network file server, and it contains all the queries, forms, reports, and VBA code, plus links to all the tables in the back end .mdb and some links to ODBC data sources like an AS/400. The back end sits on the same network file server, and it just has the table data in it. This was working well until I "went live" and my

How to set up a development environment in MS Access

前提是你 提交于 2019-12-02 18:37:06
I have created an MS Access 2003 application, set up as a split front-end/back-end configuration, with a user group of about five people. The front end .mdb sits on a network file server, and it contains all the queries, forms, reports, and VBA code, plus links to all the tables in the back end .mdb and some links to ODBC data sources like an AS/400. The back end sits on the same network file server, and it just has the table data in it. This was working well until I "went live" and my handful of users started coming up with enhancement requests, bug reports, etc. I have been rolling out new

How to design a multi-user ajax web application to be concurrently safe

泄露秘密 提交于 2019-12-02 13:46:22
I have a web page that shows a large amount of data from the server. The communication is done via ajax. Every time the user interacts and changes this data (Say user A renames something) it tells the server to do the action and the server returns the new changed data. If user B accesses the page at the same time and creates a new data object it will again tell the server via ajax and the server will return with the new object for the user. On A's page we have the data with a renamed object. And on B's page we have the data with a new object. On the server the data has both a renamed object

How to specify a unique java.io.tmpdir for each user of a multi-user Eclipse installation?

廉价感情. 提交于 2019-12-02 05:43:49
问题 I have an Eclipse installation on a multi-user Linux system at /opt/eclipse/ . Unfortunately, because of a defect in m2eclipse-mavenarchiver, this plugin uses a folder in a system temporary directory that is common for all users (this manifests as a "permission denied" message for a pom.xml file). I planned to specify a unique value for java.io.tmpdir in a common eclipse.ini based on a user name, but it turned out that it is not possible. One option is to have a per-user installation of