Hi Julian,

Julian Palacios schrieb:
> This is an example of what i'm using.
> It works fine the first time i log in to the client.
> But when I close it and I log back in, the saredobject shows empty and 
> new attributes cannot be added.
> 
> Does someone know why could this be happening?

the SO is non-persistent (you pass "false" when creating it). Such
SOs are destroyed when the last client disconnects from them. You
should create the SO in "appConnect", or better use the method
"getAttribute(scope, name, false)" every time you access if from
one of your methods. That way the existing SO is returned or it
is created if it doesn't exist.

Joachim


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to