[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ecf-dev] Using Namespaces, IDs etc.
- From: "Erkki Lindpere" <villane@xxxxxxxxx>
- Date: Thu, 10 Aug 2006 23:11:04 +0300
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LD8eZmb4paCKqJ4AU04ruLwLF/fby9OK/B1HOylO2w63lYhYEp7lqPGHDlvPzN5jbnaT/Z0vBh8QJc+9HNjnixOSD2l8EoclM2rgYZXFWQYBW1GWKiVZLDqZip5IpcRhGgbBZfeIHacYxoeKpgo8fwUXlYlMbs9P98BIF+1v3wQ=
Currently I'm mostly trying to figure out things on my own looking at
ECF code instead of bothering you with an onslaught of questions.
But I do have one more problem I'd like advice on:
When using the IContainer's connect() method, should the targetID be
the ID of the bulletin board or the user who logs in (in case there is
When connecting to a bulletin board, there are (usually) two methods:
1) anonymous, without giving a username or password
2) login with a username and password
So in guest mode, there actually wouldn't be any user ID to use.
That's why I'm partial to using the bulletin board's ID and creating
another method in IBBContainer to query the currently connected user.
Does that seem ok?
(another reason why I'm partial to that is that creating the user ID
to use as the targetID would also require a connection to be made so
it would be funny to call the connect method right after a connection
was already made)