TrajiklyHip - Blog - The Personal Blog of Aaron West
Principle Centered Leadership by Stephen Covey         Three Signs of a Miserable Job by Patrick Lencioni         Crusaders Cross by James Lee Burke         The Chronicles of Narnia by C.S. Lewis         The Assault on Reason by Al Gore         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

TweetBacks
There are no TweetBacks for this entry.
Comments
David Knapp's Gravatar I really dig 1Password, the secureness is with me.
# Posted By David Knapp | 12/18/08 1:39 AM
Aaron West's Gravatar 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.9.3.000. Contact Blog Owner