dwlee
07-10-2008, 08:33 AM
Hi,
I'm alittle confused. If the flash sets a LoginRequest with a EsObject using the api
LoginRequest lr = new LoginRequest();
EsObject x = new EsObject();
x.setString("tag", "value");
lr.setEsObject(x);
On the server side when it hits my login handler which implements BaseLoginEventHandler. In the executeLogin(LoginContext loginContext)
which of the LoginContext api do I use to extract the EsObject that was set from the action script above (ie esobject x)? I'm asking because all the methods in the LoginContext api requires a 'name' to grab the EsObject out. But the we never gave it a name for the EsObject in the above code. Am I missing something here?
I'm alittle confused. If the flash sets a LoginRequest with a EsObject using the api
LoginRequest lr = new LoginRequest();
EsObject x = new EsObject();
x.setString("tag", "value");
lr.setEsObject(x);
On the server side when it hits my login handler which implements BaseLoginEventHandler. In the executeLogin(LoginContext loginContext)
which of the LoginContext api do I use to extract the EsObject that was set from the action script above (ie esobject x)? I'm asking because all the methods in the LoginContext api requires a 'name' to grab the EsObject out. But the we never gave it a name for the EsObject in the above code. Am I missing something here?