Hi,

"info.user" contain a "persistant" user object for every command that need a sessid.
Just try a "Ape.log(info.user.getProperty('pubid');"

Anthony

Manas B a écrit :
Hi there
In the same context. How will i know which user has sent a message.
When i fire Ape.registerHookCmd all i get in params i.e. the message
which contains the message and the pipe on which the message was
recieved. Where as the info contains the ip address. The user, subuser
is empty. Is this a expected behaviour or i m making some mistake.
I get the user details as well other property on client side when
catch the onRaw. The raw.data.from.properties.name gives the user from
where the cmd was originated.

These two clearly shows that the server do keep track or things.

Please let me know How can i access the similar object at server side.

thanx

On May 24, 8:42 am, Manas B <[email protected]> wrote:
Thanx Dariusz Karcz
JSON.stringify () is working. This will take care of my needs to
examine the Ape Object.
Thanx once again

On May 24, 12:51 am, "Dariusz Karcz" <[email protected]> wrote:



I have tred Ape.log(JSON.encode(params));
It throws an error
TypeError: JSON.encode is not a function
Try JSON.stringify ()
Dariusz K. --
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 
athttp://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 
athttp://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