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
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=yesurl=http://www.asdf.com/index.cfm?x=xy=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
(just a SWAG), but I think what he meant to say ...
He wants to pass a filespec containing wildcards (?filename=Sep??2002.*) (or some
similar string)
But it gets rid of the ? and the *.
Phillip, if this is close,
Those characters really aren't web url friendly. Sure, you can pass them (and
Phil,
Have you tried URL Encoding the variable?
url=#urlencodedFormat(http://www.asdf.com/index.cfm?x=xy=y)#
-mk
-Original Message-
From: Phillip B [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 3:40 PM
To: CF-Talk
Subject: Re: Passing URL in query string
I have a link
: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=yesurl=http://www.asdf.com/index.cfm?x=xy=y
The problem is that when index.cfm gets it, it sees the variables go, url
URL Encode it. For example:
CFSET myURL = http://www.asdf.com/index.cfm?x=xy=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/
[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
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: Phillip B [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 3:59 PM
To: CF-Talk
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
, 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
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
PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 21, 2003 4:27 PM
Subject: Re: Passing URL in query string
So you could run into problems like:
index.cfm?go=yesurl=http://www.asdf.com/index.cfm?x=xy=yurl=
In this case, the url variable url would be set to jjj (not to http
. Dang!
Thanks everyone!
Phillip B.
- Original Message -
From: Jerry Johnson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, January 21, 2003 4:13 PM
Subject: Re: Passing URL in query string
It's really not that simple.
You are trying to do something that is very, very
So you think I should find a better way than what I am trying because its
very, very wrong :)
I haven't been following, but I know paypal makes you send the returning
page as a URL param, and you can attach your own params to that URL.
The one I did works fine - looks like:
wrap)
Just analyze the links for the images on this page.
Note, google also encodes the URL.
-- Andy
-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
: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=yesurl=http://www.asdf.com/index.cfm?x=xy=y
The problem is that when index.cfm gets
16 matches
Mail list logo