Versions des environnements
Network:
Windows 2008 Server
>>>What is the need for randomness? Not clear from the post. Why not ask the server for a unique ID if GUID is considered too flakey?
>>
>>Don't think GUIDs are flaky (at least compared to other options). If you ask a server to generate an ID (what are you suggesting? An int?) you have problems with overlapping hits......
>
>calling into DB table, creating records with candidate key, perhaps with some rules invalidating to stem growth without prune
But why bother ?
>
>
>>
>>>
>>>
>>>>Hi,
>>>>
>>>>I want to store an ID of a tablet (e.g. iPad, Android, etc.) into a local storage of the browser. Then at run-time, my app will get this ID string and use it to get/set certain data on the web server that will "belong" to this or that device. I found some threads on Stackoverflow with sophisticated methods of generating a random string. Since I am dealing with 10 (or 20 at most) devices, I believe, this level of complexity is too much. Can you suggest a simple method of creating/getting a string of about 10 alphanumeric characters, from .net application? For example, "ABC123", "CBGHHD", and so on.
>>>>
>>>>TIA
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement