setUserVariables can't update client
Posted: 31 Aug 2010, 10:12
This is my server code
This is what I receive in client
I print the length of Hashtable in SFSEvent.onUserVariablesUpdate.
the length is zero
Have anyone can tell me what is the problem? please..[/code]
Code: Select all
user.setVariable("nick_name", request.nick_name, UserVariable.TYPE_STRING);
ExtensionHelper.instance().setUserVariables(user, user.getVariables(), true);
This is what I receive in client
Code: Select all
[ RECEIVED ]: <msg t='sys'><body action='uVarsUpdate' r='1'><vars></vars><user id='0' /></body></msg>
I print the length of Hashtable in SFSEvent.onUserVariablesUpdate.
the length is zero
Have anyone can tell me what is the problem? please..[/code]