Question
Variables Defined Twice in URL
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!
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!