Knowledgebase: ASP Components
Using ServerObjects GUID Maker
Posted by Paul Woodland (Import) on 02 December 2006 04:35 AM

ServerObjects GUID Maker is a small utility for generating GUIDs.  A GUID (Globally Unique Identifier) is a unique 128-bit number that, for websites, is often used to as a key for tracking and recording a user session.  An example GUID could be as follows:

    {DC3CAC5D-E485-4D7C-8151-343A53B3624B}

How do you use ServerObjects GUID Maker?
The following is an example of using the GUID Maker component to generate a GUID:

    <%
        'Create an instance of our GUID Maker object.
        Set guidObj = Server.CreateObject("GuidMakr.GUID")

        'Print out a unique GUID
        Response.Write guidObj.GetGUID 
    %>

(68 vote(s))
Helpful
Not helpful

Comments (0)