Skip to main content
Participant
July 12, 2007
Question

Variables Defined Twice in URL

  • July 12, 2007
  • 1 reply
  • 257 views
I used to have a bad link in my code that pointed to a number of articles on our site and included the same variable twice in the URL. I've fixed the link, but either it remains somewhere else on the site and I can't find it -- or, search engines have saved the bad link.

Either way, I'll keep trying to find it, but hope that someone might also know a workaround. If a url says:

http://www.mysite.com/net.cfm?article=2&net=3&net=3

When the query processes it, it shows up as

where net=3,3 -- and causes an error message

Is there some way to work around this error in the link and tell CF to process only one of the two duplicate variables?

Thanks for your help!
    This topic has been closed for replies.

    1 reply

    July 12, 2007
    listFirst(URL.net)
    Participant
    July 12, 2007
    Thanks so much, Charlie. It works!