FYI: GetTickCount also rolls over to zero again after 43 days or so...
Regards,
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server
Get your free copy of iMS POST-SE Server from CoolFusion!
----- Original Message -----
From: "McCollough, Alan" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Monday, January 29, 2001 2:56 PM
Subject: OT: ticked at gettickcount()
> Okay, I suddenly find out my CF_UUID tag has a problem... There is a new
> version out there, but here is the problem...
>
> If you use the CF function gettickcount() to create a random value, this
> value will ultimately grow beyond what CF accepts as an integer. I found
> this out when one of my apps wigged out while I was out of town,
> naturally...
>
> My workaround? Instead of calling gettickcount(), call
> RIGHT(gettickcount(),9). I figure a 9-digit number is long enuff for a
> randomizing seed...
>
> Of course, if the CF service is restarted peridocially, this prevents the
> problem from occuring, but I think y'all might wanna know...
>
> Alan McCollough
> Web Programmer
> Allaire Certified ColdFusion Developer
> Alaska Native Medical Center
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists