Just a stab in the dark but do you use any cfflush tags earlier in the page? If so, cflocation will not work. "Using any of the following tags or functions on a page anywhere after the cfflush tag can cause errors or unexpected results: cfcontent, cfcookie, cfform, cfheader, cfhtmlhead, cflocation, and SetLocale." http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p37.htm <http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p37.htm>
________________________________ From: Jonathan Gingerich [mailto:[EMAIL PROTECTED] Sent: Tue 12/6/2005 6:37 PM To: CF-Talk Subject: cfLOCATION - what's it doing?? I'm having a problem with cfLOCATION and I'm not sure if it's a bug or I'm not understanding it correctly. I have: <SCRIPT TYPE="text/javascript"> top.will_load++; parent.frames[0].location = "ButtonPanel.cfm" + "?mode=debug"; </SCRIPT> </cfIF> <cfLOCATION URL="CatReviewFile.cfm?Revision=#URLEncodedFormat(RevisionPath)#"> (Yes, the cfIF is firing). When I run it, the script just does not take effect. I tried replacing it with a large amount of text, and that is not displayed either. If I replace the cfLOCATION with Javascript - location = "CatReviewFile... it works just fine. I get the impression there is some optimization that says "cfLOCATION, okay we are going to be overwritten anyway, so we can ignore everything." Obviously it can't. Any guess?? Jon. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:226355 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

