Question
Equivalent of createobject - cfinvoke
I am hosting on Godaddy where they block the precious
createobject function. Will this run
The previous statements were
Member = createObject("component","#Application.cfcRoot#.albums");
album=Member.Getalbum(url.album_id);
now they are
<cfinvoke component="#Application.cfcRoot#.albums" method="init" returnvariable="Member">
<cfscript>
album=Member.Getalbum(url.album_id);
</cfscript>
The previous statements were
Member = createObject("component","#Application.cfcRoot#.albums");
album=Member.Getalbum(url.album_id);
now they are
<cfinvoke component="#Application.cfcRoot#.albums" method="init" returnvariable="Member">
<cfscript>
album=Member.Getalbum(url.album_id);
</cfscript>
