createObject alternative?
Hey all,
I just developed a web site for a client which is going to be hosted on goDaddy. I didn't know beforehand that createObject was not allowed on their servers. So i designed my whole site like this.
Instantiate the objects on application start
<cfset application.siteMethods = createObject("component","components.siteMethods")>
<cfset application.userMethods = createObject("component","components.userMethods")>
then from there on in I just called methods like this
<cfset serverInit = application.siteMethods.init(application.dsn)>
Am I totally sunk or is there any other way to accomplish the same result? Please help, I am really in a bind here.
