I have a website that works fine using Coldfusion and now I am trying to get it to work using Railo. When I am comparing values from a query I am getting the error:
Msg: can't compare complex object types as simple value
I have a line of code that looks like the following:
<cfif getThreadID.LoggedInUsersOnly EQ 0>
If I use cfdump to look at the value it displays:
Native Array (byte[])
Raw [0]
Base64 Encoded AA==
What do I have to do differently so that it works using Railo?
Also, the URL that I am using to view my site is: localhost:8888/index.cfm. Having the port number in the URL seems to be causing me problems when I am trying to load css, js, and other files. Is there anything that I can do in the Railo admin so that I can use localhost without the port number?
Thank you for your help
Can you be more specific? The port number shouldn't make any difference to relative url's. However, you should be able to change the port number to the default port 80 (assuming it's available on your machine).
http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/running-the-same-code-on-coldfusion-railo-348