On this try I was trying to return, but is not how I had before it
very similar to the one you posted in your last post..


On Mar 5, 5:15 pm, Pablo Tejada <[email protected]> wrote:
> Just for the record is not the APE server's fault, is the way JS works and
> the way you have structured your application. For example this function:
>
> function setloggedinProperties(user){
>    var usernick = user.getProperty('name').toLowerCase();
>
>    sql.query('SELECT * FROM pfc_login WHERE BINARY
> username="'+Ape.MySQL.escape(usernick)+'"',function(res,error){
>    if(error){
> Ape.log('There was an error in the query'+this.errorString()+'');
>    }else{
>    if(res != ''){
> return res[0].isauthorized;
>    }
>    }
>    });
>
> }
>

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to