Set the url var like this: cfset myURL = "theurlvariablecontent" then encode it : index.cfm?go=yes&url=#urlencodedformat(myURL)#
That should get what you want. Clint ----- Original Message ----- From: "Phillip B" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 3:59 PM Subject: Re: Passing URL in query string > I've tried the URLEncodedFormat and URLDecode but it still separates them. > It shows it correctly encoded in the html but that gets blown to hell once > you click the link. This is so freaking simple but I cant see what I am > doing wrong. > > Phillip B. > > > ----- Original Message ----- > From: "Clint Tredway" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Tuesday, January 21, 2003 3:45 PM > Subject: Re: Passing URL in query string > > > > Have you tried using URLENCODEDFORMAT function to encode the vars and then > > use the urldecode function to decode it? > > > > This will probably get your desired results. > > > > Clint > > > > ----- Original Message ----- > > From: "Phillip B" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Tuesday, January 21, 2003 3:40 PM > > Subject: Re: Passing URL in query string > > > > > > > I have a link that has to have another link passed in the query string. > > This > > > makes the link I click look like this. > > > index.cfm?go=yes&url=http://www.asdf.com/index.cfm?x=x&y=y > > > The problem is that when index.cfm gets it, it sees the variables go, > url > > > and y. 3 vars insted of two. What I need is to make sure the var y stays > > > with the url var. > > > > > > I hope that this is a better explanation. > > > > > > Phillip B. > > > > > > > > > > > > > what exactly do you mean? > > > > > > > > anything in the url string, is in the url string to stay. > > > > > > > > ...tony > > > > > > > > Tony Weeg > > > > Senior Web Developer > > > > UnCertified Advanced ColdFusion Developer > > > > Information System Design > > > > Navtrak, Inc. > > > > Mobile workforce monitoring, mapping & reporting > > > > www.navtrak.net > > > > 410.548.2337 > > > > > > > > -----Original Message----- > > > > From: Phillip B [mailto:[EMAIL PROTECTED]] > > > > Sent: Tuesday, January 21, 2003 4:25 PM > > > > To: CF-Talk > > > > Subject: Passing URL in query string > > > > > > > > > > > > Whats the best way to pass this > > > > http://www.asdf.com/index.cfm?x=x&y=y > > > > and keep everything after the "&" with the passed URL? > > > > > > > > Phillip B. > > > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

