This function returns a unique ID from the uuidgenerator.net API.
Click here to run the script: demo/uuid_demo.asp
Code: Select all
<% option Explicit %>
<%
response.write "This is a generated UUID: " & uuid
function uuid()
Dim o
Set o = CreateObject("MSXML2.XMLHTTP")
o.open "GET", "https://www.uuidgenerator.net/api/version1", False
o.send
uuid = o.responseText
end function
%>