hash mismatch error while web service call in ColdFusion

These issue occurs since ColdFusion Hash function returned output and the output from PHP will be different in their case (Lower/upper). So for fixing these issues, we have to convert both of them to the same case.

for example, we can use the LCase method of ColdFusion to change the hash output to lowercase before passing it to the web service call

<cfset hashvalue_test=Hash(#hashvalue_test#,"MD5")>
<cfset hashvalue_test=LCase(hashvalue_test)>

Comments

Popular posts from this blog

how to add new line in google form questions | Fix for next line issue in google form questions

How to add new line in dropdown type question in google forms