By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

Function to create GUID equivalent?

P: n/a
Anybody seen a Javascript function that would generate a fairly robust
equivalent to the Windows GUID (Globally Unique Identifier)?

thx

Robert Oschler
"Let the web hear you, add your voice to your web site in minutes!"
-- http://audiodirect.spiderchase.com/
(For a limited time, free voiceover with every sign-up, use this link
instead)
-- http://audio.spiderchase.com/
(A song - are you blue?)
-- http://bluedreams.spiderchase.com/
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Robert Oschler" <no_replies@fake_email_address.invalid> wrote in
news:St******************@news2.news.adelphia.net:
Anybody seen a Javascript function that would generate a fairly robust
equivalent to the Windows GUID (Globally Unique Identifier)?

thx


That would be a mean feat, considering the GUID uses your MAC address
(already unique).

Try a server based solution here - if you need one in real time, try remote
scripting <http://developer.apple.com/internet/javascript/iframe.html> and
write an server script that can return a real GUID, or pre-generate them
for your page if not.
Jul 20 '05 #2

P: n/a
Sean Jorden <s_***********@no.spam.n_o_r_a.d.a.com> wrote in
news:Xn*********************@198.80.55.250:


That would be a mean feat, considering the GUID uses your MAC address
(already unique).

Try a server based solution here - if you need one in real time, try
remote scripting
<http://developer.apple.com/internet/javascript/iframe.html> and write
an server script that can return a real GUID, or pre-generate them for
your page if not.


CORRECTION:

Bit of digging revealed that windows machines win2k and after do not embed
your MAC address for obvious security reasons.

http://msdn.microsoft.com/library/de...l=/library/en-
us/dnnetcomp/html/PPCGuidGen.asp.
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.