Yes, but the way I invoke differs, correct? When I invoke A directly, request.user.id is part of session request header. But when the same is invoked from B, this request header is not passed and hence request.user.id doesn't work. So how do we pass the request headers as well to the called script?
Thanks. This is also available under "rest information". Now my question is, will the request header be passed as well to the called script? It doesn't work for me when I call a script, say A, that contains the line request.user._id.
How do i get the id or alias name of a server code script?
I have two server code scripts A and B. I want to invoke script A from script B by passing parameters and use the result set for further steps in script B. How do i do that?
Thanks, that worked. Now i need to get the date value set. When i tried this, it doesnt work
Apperyio("mobiledatepicker_13").val()