Pass it over using URLEncodedFormat().  This will preserve its integrity by
escaping all of the non-URL-safe characters.

Then interpret the received variable ("url.url") using URLDecode().

> > -----Original Message-----
> > From: Phillip B [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 21, 2003 4:40 PM
> > To: CF-Talk
> > 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
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
                                

Reply via email to