Bryan Beat me to it-- Another OT point to add-- You dont have to use both isDefined() and cfparam when defining your variables in the request.encrypt struct
You can just use: <cfparam name="request.encrypt.secretkey" default="key"> cfparam already looks to see if the variable exists and sets it if it does not. Also, it is better and faster than isDefined() to use StructKeyExists() eg: <cfif NOT StructKeyExists(request,"encrypt")> <cfset request.encrypt = StructNew() /> </cfif> <cfif NOT StructKeyExists(request.encrypt,"secretkey")> <cfset request.encrypt.secretkey = "myKey" /> </cfif> -- /Kevin Pepperman ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330802 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

