Hi,
I'm new with Alfresco and RESTful API, I have to set a cookie that has to contain the userid.
I was trying to do that from yui, registering another component and, the Cookie.set works fine
but it seems I cannot access to any of the JS object of Alfresco, so there's no way within there
to retrieve the userid.
Now I'm valuing to change the approach and create a webscript where I can use the YUI library to
set that cookie.
The only doubt I have is about..how do I execute such webscript at user login? Or more generic, how
to automatically run the webscript so that I can check if the user is defined (if there's a login) and set the cookie
otherwise leave it.
I hope someone can give me a hint,
kind regards,
Salvatore