Complex object types cannot be converted to simple values
Hi,
I haven't used ColdFusion in some time, and the issue at hand is moving very old ColdFusion code to a new server.
In this chunk below, the error seems to be happening on the line <CFIF ISDEFINED("Login")>
Hopefully someone can point me in the right direction or give me a tip on how to fix this outdated code.
It seems I need to change the simple value to a complex one, or something like that.
Pardon my lack of knowledge ![]()
Thanks in advance!
<CFLOCK TIMEOUT="30" THROWONTIMEOUT="Yes" NAME="#Session.SessionID#" TYPE="ReadOnly">
<CFIF NOT ISDEFINED("Session.Started")>
<CFSET LOGIN = "">
</CFIF>
</CFLOCK>
<cfinclude template="top.inc">
<CFIF ISDEFINED("Login")>
<CFINCLUDE TEMPLATE="login.cfm">
<cfinclude template="bottom.inc">
<CFABORT>
<CFELSE>
MORE CODE.......
</CFIF>
