473,326 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Function to create GUID equivalent?

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
2 9177
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: crawfordn | last post by:
Hi there, I'm trying to utilize the WSUS API to create my own custom reporting agents. I'm using iUpdateServer.GetComputerTargetGroup, which is defined as follows: Public Function...
1
by: Kannan | last post by:
Hello, I know this has been answered before but I cannot seem to get this working for the life of me... Any help/pointers would be greatly appreciated. I am trying to call a set of C# functions...
9
by: Rene | last post by:
I am using the Guid.Empty value ("00000000-0000-0000-0000-000000000000") to represent a special meaning. The problem is that I don't know if there is a chance that a command like...
7
by: ESPNSTI | last post by:
Hi, I'd like to create a Guid constant and the following doesn't work (Cannot implicitly convert type 'string' to 'System.Guid') : public const Guid MyGuid =...
24
by: M O J O | last post by:
Hi, Instead of doing this.... Public Class Form1 Public Shared Sub CreateAndShow() Dim f As New Form1 f.Show() End Sub
4
by: simon | last post by:
hi, I would like to separate my javascript completely from my xhtml. in the end there should be only <script type="text/javascript" src="javalib.js"></script> in the head-tag to my javascript....
9
by: twang090 | last post by:
Trying to create a 12 digit "guid", but have no idea on how to, anyone please have any thought? Thanks in advance.
7
by: =?Utf-8?B?SlA=?= | last post by:
I need to design a WS that will after authenicating the user, create a cookie on the users PC that made the request. All the code I keep finding is how to get a WS to read a cookie, I need it to...
3
by: Ronald S. Cook | last post by:
I have a function in which I'm trying to make the parameter optional. However, when I put Optional in front of ByVal below I get the error "optional parameters cannot have structure types". ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.