Thanks, that's a neat idea! Chris Norloff
---------- Original Message ---------------------------------- From: "Ezine" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Fri, 6 Jun 2003 14:23:55 -0400 >You can do a listfirst(formfield) to get the first one of the duplicated >parameters. >so if you have >index.cfm?id=6&id=5&id=4 > >Coldfusion MX will treat it like, Id=6,5,4 > >and, listfirst will get the first item in the list, (6) > >Listfirst takes two parameters, listfirst(list,"Delimiters"). Delimiters >is optional(if delimiters is not included, CFMX assumes a comma). > >-Zine > >-----Original Message----- >From: Chris Norloff [mailto:[EMAIL PROTECTED] >Sent: Friday, June 06, 2003 2:13 PM >To: CF-Talk >Subject: Duplicate URL parameters? > > >We're moving from CF4.5 to CFMX (yay!). > >Unfortunately, our Developers have coded duplicate URL parameters, and CFMX >treats them differently that CF 4.5 does. > >It would be nice to just filter out the dupes with a routine called from >Application.cfm (at least until the Developers can catch up). > >Has anybody done this? If I remove dupes from cgi.query_string and save >cgi.query_string will CF read the query string correctly and get the URL >parameters out of it? > >thanks, >Chris Norloff > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

