Try this:

<!--- Create a client Universally Unique Identifier (UUID) --->
<cfif not isdefined("Client.ClientUUID")>
<cfset x = "">
<cfloop list="8,4,4,4,16" index="u">
        <cfloop from ="1" to = "#u#" index="p">
                <cfset t = randomize(int(gettickcount()/p))>
                <cfset s = randrange(48,63)>
                <cfset s = iif(s lte 57, s, s + 7)>
                <cfset x = x & chr(s)>
        </cfloop>
        <cfif u neq 16>
                <cfset x = x & "-">
        </cfif>
</cfloop>
<cfset client.clientuuid = x>
</cfif>

-----Original Message-----
From: Bill King [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 04, 2001 2:20 PM
To: CF-Talk
Subject: IIS Session information


Hello all.

Is it possible to access the session ID that is created by IIS?

I would like to create a unique identifier for every visit for every
user. This will be used to report on site and usage and reporting within
the for the dynamic pages and sections of the site.

Please respond with other ideas or tools if you know of any thing good.
(I am using url vars for section and page IDs.)

Signed,

Bill King
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to