URL Encode it.  For example:

        <CFSET myURL = "http://www.asdf.com/index.cfm?x=x&y=y";>
        <CFLOCATION
URL="http://www.asdf.com/foo.cfm?myURL=#URLEncodedFormat(myURL)#">

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to