Donnie,

I don't see a reason why a cfheader tag wouldn't work, and if it fails it's 
easy enough to add in the missing tags.  Personally, I would convert it to a 
function in a cfc.

David Phelan
Web Developer
IT Security & Web Technologies

Emerging Health
Montefiore Information Technology
3 Odell Plaza, Yonkers, NY 10701
914-457-6465 Office
dphe...@emerginghealthit.com
www.emerginghealthit.com
www.montefiore.org

________________________________________
From: Donnie Carvajal <donnie.carva...@transformyx.com>
Sent: Wednesday, August 27, 2014 1:00 PM
To: cf-talk
Subject: AJAX request returning 304

I have an ajax request calling a ColdFusion template.  Each time the ajax 
function is called, the ColdFusion template should return the next 20 rows of a 
query.  I am running into an issue where the browser thinks the ColdFusion 
template hasn't changed since a 304 http status code is returned.  I don't have 
an html or head tag in the CF template, so I don't believe a cfheader tag will 
work.  Does anyone know how to prevent a CF template from returning a 304 http 
status code?

Thanks,

Donnie Carvajal



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359202
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to