jimmyshoes
Programmer
I am experimenting with setting session variables using cfajaxproxy
Here's the problem
The cfc cannot access the session variable when called via cfajaxproxy but t does work if called via createObject
Is there a solution to this
Code:
cfm page......
<cfajaxproxy cfc="m" jsclassname="myproxy">
<script>
var myCFC = new myproxy()
function showIt() {
return myCFC.myFunc()
}
alert(showIt());
</script>
Code:
cfc.......
<cfcomponent output="false">
<cffunction name="basemethod" access="remote" returnType="string" output="false">
<cfreturn session.someVar>
</cffunction>
</cfcomponent>
Here's the problem
The cfc cannot access the session variable when called via cfajaxproxy but t does work if called via createObject
Is there a solution to this