These therms are used interchangeably in the code... can you choose 1 or
the other? It simply causes confusion.

Also, what is appId supposed to be, exactly? What is the definition? Is
it simply a unique identifier of the current gadget?

If so, why not simply use the URL? This must be unique already...

If there are other reasons for making this not simply the URL, perhaps a
good way of gen'ing an appId is by using an MD5, or SHA-1 hash.

There is a javascript version of both here
http://pajhome.org.uk/crypt/md5/ (BSD License)

They seem very fast.

Raymond Augé
Software Engineer
Liferay, Inc.
Enterprise. Open Source. For Life.

Reply via email to