The only thing that I can think of is that might only
have to create the struct if you if statement is false...

<cfset DynaTextMode = "">
<cfif IsDefined("session.user.DynaTextMode")>
        <cfif session.user.DynaTextMode EQ "Edit">
                <cfset DynaTextMode = "Edit">
        </cfif>
<cfelse>
        <cfset session.user = structNew()>
</cfif>

<cfset session.user.systemid = sys.systemID>
<cfset session.user.userid = ucase(variables.userid)>
<cfset session.user.preferences = u2.preferences>
<a series of these cfsets>

also...you might want to look at using cfscript as it
will speed things up a little.

Tom

-----Original Message-----
From: Lon Lentz [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 10:45 AM
To: CF-Talk
Subject: RE: Need help interpreting error message.


  Here's a little of the code before and after the error causing line.


<cfset DynaTextMode = "">
<cfif IsDefined("session.user.DynaTextMode")>
        <cfif session.user.DynaTextMode EQ "Edit">
                <cfset DynaTextMode = "Edit">
        </cfif>
</cfif>

<cfset session.user = structNew()>

<cfset session.user.systemid = sys.systemID>
<cfset session.user.userid = ucase(variables.userid)>
<cfset session.user.preferences = u2.preferences>
<a series of these cfsets>



Lon Lentz
Applications Developer & CyberEntomologist - Alvion Technologies
DataWarehousing and List Sales - Market Your Lists on the Net!
[EMAIL PROTECTED]
941-574-8600 Ext. 210

-----Original Message-----
From: Thomas Brown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 11:05 PM
To: CF-Talk
Subject: RE: Need help interpreting error message.


can you send the code surrounding this as well???
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to