Urlencodedformat() everything after '?newURL='

And then urlDecode(url.newurl) when you need to pull it back out


www.domain.com/page.cfm?newURL=#urlencodedformat(www.domain.com/page2.cfm?va
r1=a&var2=b)#

....and...

#urldecode(url.newURL)#


..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-----Original Message-----
From: B G [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 18, 2005 5:42 PM
To: CF-Talk
Subject: URL Variables

Is this possible?

I want to pass a string containing URL variables through a URL.  For 
example:

www.domain.com/page.cfm?newURL=www.domain.com/page2.cfm?var1=a&var2=b

In other words on page2.cfm I should reference

#URL.newURL# outputs www.domain.com/page2.cfm?var1=a&var2=b

Thanks





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221409
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to