Same concept. It's an async call. As i said : Ape.addUser(cmd.user) in your sql callback. return -2 in the parent function.

Indeed when mysql returns the result the hook function is already terminated. Returning -2 delay the connection until a Ape.addUser call.

Anthony Catel

Le 18 juil. 2010 à 15:23, hlop <[email protected]> a écrit :

the http_auth is an request to a site, but i need a request to the
mysql.

can you give me an example please?

--
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/

--
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