But be aware that you need one EOF stack for each EOModel having its own connection dictionary. This has several implications like non synchronized EOs and such things.

regards, David

Am 12.10.2005 um 15:11 schrieb Mark Morris:

Hello Frank,

Assuming you need a database connection to authenticate the users and to determine which school to use, a simple approach would be to have 2 EOModels, one for authentication and one for everything else. After login, you can change the connection dictionary for the second model based on the user. (There's a setConnectionDictionary method on the EOModel object.)

Hope this helps.  :-)

Regards,
Mark

On Oct 12, 2005, at 2:53 AM, Frank Stock wrote:


Hi,

I have a few projects we use in our school. I would like other schools to use the same projects. We use Frontbase as our local database, so I would like to make new users in the database (one for each school). Is it possible to control at login and connect to the school you want in your application?


Thanks,
Frank Stock
Sint-Pieterscollege

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/markm% 40onpointsoftware.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/david.teran% 40cluster9.com

This email sent to [EMAIL PROTECTED]



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to