Re: URL query string

2002-01-03 Thread clint

try changing the '=' to a '.' and use gettoken() to get both values.

Its just an idea.

HTH
Clint

-- Original Message --
from: Tyler Clendenin [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Thu, 3 Jan 2002 16:43:43 -0500

here is my delima.  i want to pass a few values to the next page to be
passed back
ex.
http://localhost/index.cfm?FuseAction=App.EditRFA=App.ViewReturnStrin
g=Ite
m_id=5021

the problem is that i want ReturnString to be Item_id=5021  but instead

this would set ReturnString equal to  and a variable Item_id equal to
5021

i want the App.Edit page to blindly return to the App.View page and not
worry about what it is passing back, only knowing that it passes whatever i
s
in the ReturnString.

thanx

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: URL query string

2002-01-03 Thread Howie Hamlin

Use the URLEncode function so that the = sign is encoded in the URL.

HTH,

--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com  - 631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server
 Vote for iMS as the CFDJ Reader's Choice Awards Most Innovative Product 
http://www.sys-con.com/coldfusion/readerschoice2001/nominationformbpa.cfm
 Find out how iMS Stacks up to the competition: 
http://www.coolfusion.com/imssecomparison.cfm

- Original Message -
From: Tyler Clendenin [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, January 03, 2002 4:43 PM
Subject: URL query string


 here is my delima.  i want to pass a few values to the next page to be
 passed back
 ex.
 http://localhost/index.cfm?FuseAction=App.EditRFA=App.ViewReturnString=Ite
 m_id=5021

 the problem is that i want ReturnString to be Item_id=5021  but instead
 this would set ReturnString equal to  and a variable Item_id equal to
 5021

 i want the App.Edit page to blindly return to the App.View page and not
 worry about what it is passing back, only knowing that it passes whatever is
 in the ReturnString.

 thanx
 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: URL query string

2002-01-03 Thread Sicular, Alexander

I usually do stuff like that in hidden form fields for two reasons. One,
because it gets wacky with escape chars and stuff, not just for cf but js,
uri's and other languages. And two because it's a _little_ less hack
friendly.

In general when passing strings over url's I use urlencodedformat function.

Good luck,

Alexander Sicular
Chief Technology Architect
Neurological Institute of New York
Columbia University
as867 [at] columbia {dot} edu


|-Original Message-
|From: Tyler Clendenin [mailto:[EMAIL PROTECTED]] 
|Sent: Thursday, January 03, 2002 4:44 PM
|To: CF-Talk
|Subject: URL query string
|
|
|here is my delima.  i want to pass a few values to the next 
|page to be passed back ex. 
|http://localhost/index.cfm?FuseAction=App.EditRFA=App.ViewRet
|urnString=Ite
|m_id=5021
|
|the problem is that i want ReturnString to be Item_id=5021  
|but instead this would set ReturnString equal to  and a 
|variable Item_id equal to 5021
|
|i want the App.Edit page to blindly return to the App.View 
|page and not worry about what it is passing back, only knowing 
|that it passes whatever is in the ReturnString.
|
|thanx 
|
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: URL Query String

2000-07-21 Thread David Gassner

If you want to pass a series of values without identifying each value's
source, you could send them as a single variable containing a
comma-delimited list, then use cfloop to loop through them:

cfset list=urlencodedformat("1,2,3,4")
cfoutput
a href="detailpage.cfm?list=#list#"Clicka
/cfoutput

and on the detail page:

cfloop list="#form.list#" index="item"
  ...#variables.item#...
/cfloop

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 21, 2000 7:59 AM
 To: [EMAIL PROTECTED]
 Subject: URL Query String


 Ok. This might be a simple question, but I am perplexed.

 I am executing a form that has 20 variables.  I want to be able to append
 all those variables on the next page to a URL Query String, i.e.
 template.cfm?a=1b=2c=3  .. etc.  Is there an easy way to do this instead
 of looping through the Fields that were passed or hard coding
 them into the
 template?  Thereby making the link on the following page dynamic based on
 the fields passed.

 In the same vein, is there a way to take "a=1b=2c=3... etc" out of the
 query sting and have it as ONE long variable to be used again going
 forward?

 Thanks,

 Vance Duke
 Cold Fusion Application Developer
 x4729


 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf
 _talk or send a message to [EMAIL PROTECTED] with
 'unsubscribe' in the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.