But i have a question:
on my server extension i create this object :
Code: Select all
ISFSObject outData = (ISFSObject) event.getParameter(SFSEventParam.LOGIN_OUT_DATA);
while(res.next())
{
int id_user = res.getInt("id_user");
trace(id_user);
String username = res.getString("username");
trace(username);
String email = res.getString("Email");
trace(email);
int mkoin = res.getInt("mkoin");
trace(mkoin);
String profile_img = res.getString("profile_img");
if(profile_img == null){
profile_img = "";
}
trace(profile_img);
outData.putInt("id_user", id_user);
outData.putUtfString("nome_utente", username);
outData.putUtfString("email", email);
outData.putInt("mkoin", mkoin);
outData.putUtfString("profile_img", profile_img);
outData.putUtfString(SFSConstants.NEW_LOGIN_NAME, username);
}
how can i read this object?
on client side i need to read this to take some information to print on the screen.
Thanks to all