TrajiklyHip - Blog - The Personal Blog of Aaron West
The Chronicles of Narnia by C.S. Lewis         The Assault on Reason by Al Gore         The Four Obsessions of an Extraordinary Executive by Patrick Lencioni         The Five Temptations of a CEO by Patrick Lencioni         Getting Things Done by David Allen         Books I've recently read and recommend!
November 30, 2008

Thanks to all those who entered my drawing for a free copy of 1Password from Agile Solutions. I wrote a bit of ColdFusion (code below) to draw the winner and was surprised to learn the folks at 1Password had given me extra copies to giveaway! Congrats to Lance from Ohio and David from all over (David is currently touring with the band Wild Sweet Orange). I hope you two enjoy 1Password as much as I do!

<cfset variables.myArray = ["entry1", "entry2"]>

<cfset variables.seed = Randomize(Right(GetTickCount(), 5), "SHA1PRNG")>
<cfset variables.winnerIndex = RandRange(1, ArrayLen(variables.myArray), "SHA1PRNG")>

And the winner is: <cfoutput>#myArray[variables.winnerIndex]#</cfoutput>

Related Blog Entries

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
I really dig 1Password, the secureness is with me.
# Posted By David Knapp | 12/18/08 1:39 AM
I'm glad you're enjoying David!! Thanks for entering the giveaway.
# Posted By Aaron West | 12/18/08 9:26 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.5.005.