April 9, 2019
application.cfc sometimes doesn’t load
Comments
(0)
April 9, 2019
application.cfc sometimes doesn’t load
(0)

I have this code in my application.cfc

<cfset THIS.serialization.preserveCaseForStructKey = “true” />
<cfset THIS.serialization.preserveCaseForQueryColumn= “true” />
<cfset THIS.serialization.serializequeryas = ‘struct’ />
sometimes like 1 out of 10 times my structures return in upper case and if I don’t use the SerializeJSON(ResultQuery,‘struct’) I also get it in the weird way that cold fusion uses (column and data), which makes me think that it is not loading the application.cfc but it is not consistent.
This usually happens when the query or structure result is big.
has anyone ever encountered this issue? if so do you have any idea how to fix it?
0 Comments
Add Comment