I would like to associate all (multiple) gadgets on a single person's web page with a common identifier, say "userid".
I have each gadget query an external service (with makeRequest()), and want the external service to be able to distinguish between different users. I could have the user type in a "userid" in each gadget on their web page, and this would be used by the external service to associate all those gadgets with one person. But I'm wondering if there's an easier way. Is there a common "web browser id" or "viewer id" that all gadgets on the same web page can read? For example, I tried the gadget "version 1" in the opensocial tutorial: http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.8.html to create an opensocial newDataRequest, but the "viewer" attribute in the response appears to be null. What's the best way to do this? Thanks, Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" 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/Google-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
