Re: cf_location custom tag and CFMX (not working)
On Thu, 3 Jul 2003 15:41:26 -0700, in cf-talk you wrote: On Thursday, Jul 3, 2003, at 08:24 US/Pacific, Jamie Jackson wrote: It appears that CF_Location v2.0.1, V1.0 (Jordan Clark). Doesn't work under CFMX. I could hack it to get it working, but if anyone has the fixes at their fingertips, would you let me know? Just out of curiosity, what does cf_location provide that the built-in cflocation does not? Cookies and client vars can be set beforehand, with no problems. Try that with the stock cflocation. ;) Jamie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf_location custom tag and CFMX (not working)
That bug was fixed in CFMX - Original Message - From: Jamie Jackson [EMAIL PROTECTED] Date: Monday, July 7, 2003 11:25 am Subject: Re: cf_location custom tag and CFMX (not working) On Thu, 3 Jul 2003 15:41:26 -0700, in cf-talk you wrote: On Thursday, Jul 3, 2003, at 08:24 US/Pacific, Jamie Jackson wrote: It appears that CF_Location v2.0.1, V1.0 (Jordan Clark). Doesn't work under CFMX. I could hack it to get it working, but if anyone has the fixes at their fingertips, would you let me know? Just out of curiosity, what does cf_location provide that the built-in cflocation does not? Cookies and client vars can be set beforehand, with no problems. Try that with the stock cflocation. ;) Jamie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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
RE: cf_location custom tag and CFMX (not working)
Jamie Just something to watch out for, CFMX is more picky about naming variables the same as CF keywords hence the reason the original tag balked at the use of variables called 'Equals' and 'URL' Kola -Original Message- From: Jamie Jackson [mailto:[EMAIL PROTECTED] Sent: 03 July 2003 21:05 To: CF-Talk Subject: Re: cf_location custom tag and CFMX (not working) In order to make my thread seem more interesting, I'll reply to myself. ;) Anyway, I made the mods that I mentioned, as well as removed the cfmodule template=request.cfm thing. I also added the fancy URLSessionFormat() function to the custom tag, and my URLs and cf_location calls are nice 'n' purty. Anyhoo, have a great Independence Day, American cf-talkers! Jamie On Thu, 03 Jul 2003 11:24:58 -0400, in cf-talk you wrote: It appears that CF_Location v2.0.1, V1.0 (Jordan Clark). Doesn't work under CFMX. I could hack it to get it working, but if anyone has the fixes at their fingertips, would you let me know? The first thing MX balks at is: CFSET equals = / ^^ So I changed it to: CFSET myEquals = / (and changed all other references to this var) Next, MX halts at: CFSET attributes.url = attributes.url blocks #request.URLToken# I don't know where this var is supposed to come from, so I changed it to: CFSET attributes.url = attributes.url blocks URLToken Also, I have no clue what the following line is supposed to do: !--- Write Request Variables to Session and Client Scope --- cfmodule template=request.cfm type=write What the heck is request.cfm? I've no clue. As I said, I could hack this pretty easily to get it to work, but I'd be a little less confident that it's bulletproof. Has another custom tag superceded this one? I thought this one was preeminent. BTW, if it matters, I'm running CFMX on Linux. Thanks, Jamie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf_location custom tag and CFMX (not working)
In order to make my thread seem more interesting, I'll reply to myself. ;) Anyway, I made the mods that I mentioned, as well as removed the cfmodule template=request.cfm thing. I also added the fancy URLSessionFormat() function to the custom tag, and my URLs and cf_location calls are nice 'n' purty. Anyhoo, have a great Independence Day, American cf-talkers! Jamie On Thu, 03 Jul 2003 11:24:58 -0400, in cf-talk you wrote: It appears that CF_Location v2.0.1, V1.0 (Jordan Clark). Doesn't work under CFMX. I could hack it to get it working, but if anyone has the fixes at their fingertips, would you let me know? The first thing MX balks at is: CFSET equals = / ^^ So I changed it to: CFSET myEquals = / (and changed all other references to this var) Next, MX halts at: CFSET attributes.url = attributes.url blocks #request.URLToken# I don't know where this var is supposed to come from, so I changed it to: CFSET attributes.url = attributes.url blocks URLToken Also, I have no clue what the following line is supposed to do: !--- Write Request Variables to Session and Client Scope --- cfmodule template=request.cfm type=write What the heck is request.cfm? I've no clue. As I said, I could hack this pretty easily to get it to work, but I'd be a little less confident that it's bulletproof. Has another custom tag superceded this one? I thought this one was preeminent. BTW, if it matters, I'm running CFMX on Linux. Thanks, Jamie ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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
Re: cf_location custom tag and CFMX (not working)
On Thursday, Jul 3, 2003, at 08:24 US/Pacific, Jamie Jackson wrote: It appears that CF_Location v2.0.1, V1.0 (Jordan Clark). Doesn't work under CFMX. I could hack it to get it working, but if anyone has the fixes at their fingertips, would you let me know? Just out of curiosity, what does cf_location provide that the built-in cflocation does not? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cf_location custom tag and CFMX (not working)
It uses two CFHEADER tags to pass a 302 HTTP response back to the client so that cookies will get set, which CFLOCATION doesn't do. It might also allow for you to select between server and client side redirects, but I don't know. something like this: cfparam name=attributes.addtoken default=false / cfif attributes.addtoken cfset attributes.url = attributes.url cfid=#cfid#cftoken=#cftoken# / /cfif cfheader statuscode=302 statustext=object temporarily moved / cfheader name=location url=#attributes.url# / cfabort / --- Barney Boisvert, Senior Development Engineer AudienceCentral [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 3:41 PM To: CF-Talk Subject: Re: cf_location custom tag and CFMX (not working) On Thursday, Jul 3, 2003, at 08:24 US/Pacific, Jamie Jackson wrote: It appears that CF_Location v2.0.1, V1.0 (Jordan Clark). Doesn't work under CFMX. I could hack it to get it working, but if anyone has the fixes at their fingertips, would you let me know? Just out of curiosity, what does cf_location provide that the built-in cflocation does not? Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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