08-05-05 10:46 PM
What if I want to save data from a clientLocal in a shared object=20
onDisconnect?
I have a tracking system which tracks login and logout time. When the=20
user logs in, I save the date, time, etc. in a clientGlobal. When they=20
logout (disconnect), I grab their clientGlobal, add to it the logout date=20
and time, and save it in a shared object. How can I do the same, but with =
clientLocal, if I'm not using components? I know I can save all of the=20
same info in a client-side variable when a user logs in, but when they log =
out, I still need to write it to the shared object.
Know what I mean? It just seems easier to do it server-side. Please=20
correct me if I'm on the wrong track.
Thanks,
Brandon
Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>=
20
Sent by: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
08/05/2005 02:38 PM
Please respond to
Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>;
Please respond to
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gm
ane.org>
To
FlashComm Mailing List <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gm
ane.org>
cc
Subject
Re: Fw: [FlashComm] gFrameworkFC.ClientGlobals(client)
If you are not using components then there's no need to use
clientGlobals at all. You can specify those vars on the Client
instance.
Thanks,
Fernando
On 8/5/05, Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane
.org
<Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org> wrote:
> I'm defining clientGlobals in the main.asc When someone first logs in,
> several things are saved, like username, login time, etc. If I don't=20
use
> any components, how would I use clientLocals? I don't think I can=20
define
> these in the main.asc, can I?
>=20
> Thanks,
> Brandon
>=20
>=20
>=20
>=20
> Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>
> 08/04/2005 11:31 PM
> Please respond to
> Fernando Fl=F3rez <fernando.florez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
>
>=20
>=20
> To
> "Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org"
> <Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org>
> cc
>=20
> Subject
> Re: [FlashComm] gFrameworkFC.ClientGlobals(client)
>=20
>=20
>=20
>=20
>=20
>=20
> I suggest use clientLocal if you have a component var only. You only
> use the global object if you want to share data across components.
>=20
> Fernando
>=20
> On 8/4/05, Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gma
ne.org
> <Brandon=5FKrakowsky-1kLVSyq0wur/WnwTtj1/UIFTLv+wk40W@public.gmane.org> wr
ote:
I'm[vbcol=seagreen]
wasn't[vbcol=seagreen]
> can
> client
>=20
>=20
> -----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> -----------------------------------------------------------
>=20
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
[ Post a follow-up to this message ]
|