Gossamer Forum
Home : Products : DBMan : Customization :

DBMan and multi-users

Quote Reply
DBMan and multi-users
Hello,
If one user is logged (with add & delete privileges) can we forbid others loggins with add & delete privileges.

Stéphane and Thomas
Quote Reply
Re: DBMan and multi-users In reply to
No way that I know of. Are you concerned about more than one person accessing the file at a time? It shouldn't be a problem, especially if you have "flock" enabled.


------------------
JPD





Quote Reply
Re: DBMan and multi-users In reply to
Bonjour,
We have write a sub part in html.pl for generate an automatic "alpha" ID. (ex : PHOTO_(x)). And we have problems when two users are on the add HTML form.

Stéphane

------------------
Quote Reply
Re: DBMan and multi-users In reply to
Are you going to have more than one photo file per record? If you only have one, you can use the record id as the name for your photo file.

If you're going to have more than one, you could possibly still use the record id and another character. For example, if your record id was "43," your photo files could be "43a" "43b" etc.

I really don't think there's any way to even tell if there is another person still accessing the database at the same time. The files in the auth directory are created when a new person logs on, but they aren't deleted when a person logs off -- primarily because there is no way to ensure that a person will actually log off the database. They could just move to another website.


------------------
JPD