I really doubt it does a meta refresh. I believe it sets the location in the header (which is why the cfflush will kill it). The javascript, while might be sent to the browser, will never get executed as the browser will follow the location tag first, before trying to parse the content of the pag.e
-----Original Message----- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 5:51 PM To: CF-Talk Subject: RE: cfLOCATION - what's it doing?? Snake, Jon, While CFLocation IS coldfusion, it actually goes go across to the browser. I believe it sends a meta redirect or something of that nature. So it IS cold fusion, but it is NOT server side, as far as I understand. Because of this, CFLocation will not work if you have already flushed content to the browser (via CFFlush or some other method) since at that point it is too late for the server to update the headers with the redirect. So, if its just not working, try putting some cfsilent tags around the code surrounding the CFLocation and make sure you are not writing to the browser first. Sorry if there is some misinformation there, but I think that's the jist of it. ........................ Ben Nadel Web Developer Nylon Technology 6 West 14th Street New York, NY 10011 212.691.1134 212.691.3477 fax www.nylontechnology.com "Vote for Pedro" -----Original Message----- From: Snake [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 5:44 PM To: CF-Talk Subject: RE: cfLOCATION - what's it doing?? Jon, Javascript is client side, cflocation is coldfusion, so it is server side. If you have a cflocation in a page, it redirects to another page, so thus your javascript never gets sent to the client, thus it doesn't run. If you want the redirect to happen on the client after that bit of javascript has execute, then you will need to do that in JS as well. -- snake ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:226500 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

