Re: login docs
Re: login docs
- Subject: Re: login docs
- From: Art Isbell <email@hidden>
- Date: Sat, 8 Mar 2003 09:54:58 -1000
On Saturday, March 8, 2003, at 09:18 AM, Kenny Sabarese wrote:
i'm looking to make a simple login against the openbase DB as my first
real foray into WO (basically something that isn't in the book)
Just so you understand how Enterprise Objects Framework (EOF) and WO
interact by default, every WO session (i.e., user) shares the same
database connection. If you have each user log on to OpenBase, each
time a new user logs on, all other active sessions will share this
account. That's probably not what you intended.
It's usually sufficient for a EOF to log on to a DB once using a
particular DB account when the eomodel is loaded (i.e., as the WO
instance is launched, not as each session is created). You might want
to authenticate each user via a login with account info stored in the
DB, but keep in mind that all login and password info will travel as
plain text from the browser to the Web server unless you use a secure
Web server and the https protocol.
But if you still think you must support a separate DB connection for
each user, see
http://developer.apple.com/techpubs/webobjects/Enterprise_Objects/
Geography/chapter_5_section_9.html. Pay particular attention to the
downsides of so doing discussed in the last paragraph. Most developers
feel that the downsides aren't worth supporting a DB connection/session.
Aloha,
Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >login docs (From: Kenny Sabarese <email@hidden>) |