Hi Harald,
what´s the purpose for this kind of id ?
What about the hostname ? An IP address can be dynamic, but a DNS entry
should be constant.
You can read the hostname via "document.URL". As far as I know, there
is no qooxdoo abstraction, so you can use this API directly.
After that cou can access the elements of the URL like this
var splitTokens = document.URL.split("//");
if (splitTokens && splitTokens instanceof Array) {
for()...// and so on
}
If you really want to track the client, you could do it at the backend.
Be carefull with the IP address, because there could be a proxy or a NAT
router between server and client. It is better to use session-ids (or
something like that), this is very easy if you´re using Java at the
backend (Servlet API).
HTH
Best regards,
Rob.
>>> Tranninger Harald <[email protected]> 9/7/2010 9:05 >>>
Hi,
my app is running on my Computer. I want to get some unique identifier,
that identifies my computer.
This identifier should be stored in a DB. I thought of my IP address.
If I would be able to get my IP, then
I could store it in the MSQl DB.
Thanks,
Hari
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel