|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Session does not set properly
Hi guys.
Im setting Sessions like this: Code:
<cfparam default="0" name="char"> <cfparam default="0" name="server"> <cfset Session.CharID = char> <cfset Session.ServerID = server> <cflocation addtoken="no" url="mainmenu.cfm"> The charID sets correctly, but i have trouble setting serverId, and it returns this error message everytime i try calling it: Complex object types cannot be converted to simple values Anyone know what the problem is |
|
#2
|
|||
|
|||
|
Server is a reserved word that is a pointer to the server scope, which is a shared variable scope available to all threads on the server. Just change the name of your variable to something else.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Complex object types cannot be converted to simple values |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|