Sure, no problem. Matt Liotta President & CEO Montara Software, Inc. http://www.montarasoftware.com/ V: 415-577-8070 F: 415-341-8906 P: [EMAIL PROTECTED]
> -----Original Message----- > From: Whiterod, David (PLNSA) [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 11:19 PM > To: CF-Talk > Subject: cfparam using CGI variables > > 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

