[thelist] url variables
Oren Levin
lists at pinetree.net
Thu Sep 26 14:39:01 CDT 2002
One thing you might try is to translate the & and = in the value to ^ and ~
in the URL and then translate them back in your code so that your key-pair
you pass looks like:
return_page=read.cfm?email_ID~384^folder_ID~1^sort_by~date_time_io^sort_orde
r~1
We do this all the time on the audible.com site as in:
www.audible.com/adbl/store/welcome.jsp?source_code=AUDW0146WS072701&entryRed
irect=/store/sitePage.jsp&entryParams=^Type~StephenKing
Hope that helps.
Oren
-----
Oren Levin, Web Developer
olevin at audible.com, 973.837.2811
Give the gift of audio - http://www.audible.com/giftcenter
-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Ryan Carmody
Sent: Thursday, September 26, 2002 3:07 PM
To: thelist at lists.evolt.org
Subject: [thelist] url variables
Hi all,
Is there a way to pass a url var with value equal to a string that contains
equal signs and ampersands so that that string value isn't seen as separate
vars and values. Here's what I'm trying to do, pass this in the url,
return_page=read.cfm?email_ID=384&folder_ID=1&sort_by=date_time_io&sort_orde
r=1,
and have return_page get set to the string
'read.cfm?email_ID=384&folder_ID=1&sort_by=date_time_io&sort_order=1'. Is
this possible? Any help is appreciated. I'm trying to do this with js and
cf.
Thanks,
Ryan
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list