Hi, Please exuse this humble question about cfparam.
I have an app where I want a server name variable to be optionally supplied to a template via the url. i.e. somepage.cfm?server=myserver.com.au If this parameter is not supplied I would like to default to the current server name (stored in CGI.SERVER_NAME). My question is can I use CFDEFAULT to to this. i.e. <cfparam name="URL.Server" default="#CGI.SERVER_NAME#"> I ask because I will not be able to test this until tonight (I only have a production only environment current - so this kind of limits my testing ablilty and I don't what to break stuff). Cheers David ______________________________________________________________________ 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

