I'm trying to implement functionality to ensure that one set of
credentials can only be actively logged in once in my application. 

The approach I am taking is to have a DataService that manages an
ArrayCollection of logged in users. When the user attempts to login and
successfully retrieves their userid from the db, an attempt is made to
add their user identity object to the managed collection. If a user
identity object with that id already exists in the collection, the
DataService throws an exception. The user will then be given the option
of kicking the other logged in client off, or not.

I'm having a heck of a time figuring out how to make this work -
particularly because I'm a newbie to FDS/FES/LCDS.  All the time I have
been working with Flex (since 2004), it has been strictly on an RPC
basis. 

The first thing I'm having trouble with is getting each client to be
bound to the same server-side data object.  Every time I create a new
client instance, the fill method creates a new ArrayCollection.  But
that's not exactly what I want.  I want the user to get a reference to
an pre-existing ArrayCollection managed on the server-side.  For the
life of me, so far, I haven't figured out how to get this to work.
Obviously there's something about managed data that I just don't get. 

Any help appreciated!!!!!!!!!

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)

Reply via email to